Provided is a diagnostic support program that is possible to display a movement of an area whose shape changes for each respiratory element including all or part of expired air or inspired air.
There are provided processing of acquiring a plurality of frame images from a database that stores images, processing of specifying of a cycle of a respiratory element including all or part of expired air or inspired air based on pixels in a specific area in each of the frame images, processing of detecting a lung field based on the cycle of the specified respiratory element, processing of dividing the detected lung field into a plurality of block areas and calculating a change in image in a block area in each of the frame images, processing of Fourier-transforming a change in image in each block area in each of the frame images, processing of extracting a spectrum in a fixed band including a spectrum corresponding to the cycle of the respiratory element, out of a spectrum obtained after the Fourier-transforming, processing of performing inverse Fourier transform on the spectrum extracted from the fixed band, and processing of displaying each of the images after performing the inverse Fourier transform, on a display.