PROBLEM TO BE SOLVED: To provide a device for checking lung functions with good reproductivity without giving great burden on a person to be checked.SOLUTION: A dynamic medical image is acquired. The dynamic medical image is acquired by imaging a heart and has two or more frame images. Two or more first indices for the two or more frame images are derived. Each of the two or more first indices indicates heart conditions. A second index is derived from the two or more first indices. The second index indicates lung functions.【課題】大きな負担を検査される人に与えることなく肺機能を再現性よく検査する装置を提供する。【解決手段】医用動画像が取得される。医用動画像は、心臓を撮像することにより得られ、2個以上のフレーム画像を有する。2個以上のフレーム画像について2個以上の第1の指標が導出される。2個以上の第1の指標の各々は、心臓状態を示す。2個以上の第1の指標から第2の指標が導出される。第2の指標は、肺機能を示す。【選択図】図5