PROBLEM TO BE SOLVED: To provide a technique to acquire images of a region with motions in which fluctuation components caused by elements other than the region are removed.SOLUTION: An image generating apparatus acquires a first moving image representing a captured state in which a prescribed region constituting an inside of an animal keeps changing the shape and a second moving image representing a captured state in which the prescribed region stops changing the shape. Next, the image generating apparatus detects a phase of periodic movements of a heart of the animal when a plurality of first frame images included in the first moving image are respectively photographed and a phase of the periodic movements of the heart when a plurality of second frame images included in the second moving image are respectively photographed. Then, for the combination of the first frame image and the second frame image photographed when the phases of the periodic movements of the heart agree, the image generating apparatus generates a fluctuation component image by correcting the second region in a manner that the second representing region the prescribed captured region of the second frame image agrees with the first region representing the prescribed captured region of the first frame image and generates a difference image between the first frame image and the fluctuation component image.COPYRIGHT: (C)2009,JPO&INPIT【課題】動きを有する部位について、その部位以外に起因する変動成分を取り除いた画像を取得する技術を提供する。【解決手段】動物の内部を構成する所定部位の形状が変化する状態を捉えた第1動画像と、所定部位の形状の変化が停止した状態を捉えた第2動画像とを取得する。次に、第1動画像に含まれる複数の第1フレーム画像が各々撮影された際における動物の心臓の周期的な動きの位相と、第2動画像に含まれる複数の第2フレーム画像が各々撮影された際における心臓の周期的な動きの位相とを検出する。そして、心臓の周期的な動きの位相が略一致する際に撮影された第1フレーム画像と第2フレーム画像との組合せについて、第1フレーム画像の所定部位を捉えた第1領域に対して、第2フレーム画像の所定部位を捉えた第2領域が合致するように、第2領域を補正して変動成分画像を生成し、第1フレーム画像と変動成分画像との差分画像を生成する。【選択図】図2