A computer program for detecting a change image, which has changed when compared with a temporally previous image, among a plurality of images arranged in time series, the computer program causing a computer to execute:
- selecting a reference image and an image to be processed from the plurality of images;
- determining whether or not there is a change by comparing an Na-th (‘Na’ is a natural number equal to or smaller than N) partial region of N (‘N’ is an integer equal to or larger than 2) partial regions, which are included in the entire region of the image to be processed, with a corresponding region, which exists at a position corresponding to the Na-th partial region, of the entire region of the reference image;
- selecting an image, which is temporally later than the image to be processed, as a new image to be processed and determining whether or not there is a change between an Nb-th (Nb=Na+1 when Na≠N, and Nb=1 when Na=N) partial region, which exists at a position different from the Na-th partial region of the entire region of the new image to be processed, and a corresponding region of the Nb-th partial region in the case when it is determined that there is no change between the Na-th partial region and the corresponding region;
- and
- selecting the image to be processed or an image, which is temporally later than the image to be processed, as a new reference image and detects the image to be processed or the image, which is temporally later than the image to be processed, as the change image in the case when the determination unit determines that there is a change between the Na-th partial region and the corresponding region.