A non-transitory computer readable storage medium that stores a program for image processing that causes a computer to execute a process including: detecting a change in a lung based on a plurality of images of the chest scanned at different times, the change in the lung indicating that each position of each part of the lung changes toward a specified position of the lung, and outputting the change of the lung.