An image processing apparatus stores data for a series of images associated with a range including a heart and diaphragm of an object. A temporal change in a moving amount of the diaphragm and a temporal change in a moving amount of the heart are generated from the series of images, and a ratio of (a) the moving amount of the heart to (b) the moving amount of the diaphragm is calculated.