At first, average brightness of each of frames of a moving image is calculated
by a computer. Following that, a moving average along a time axis is calculated
for each of the frames so that moving average brightness is generated as a reference
data of brightness. Next, difference data between the average brightness and the
moving average brightness are generated. Further, the difference data are grouped
based on the signs of the reference data. Then, on the basis of the grouped difference
data, it is judged whether an unwanted change of brightness is present. Thus, it
is automatically and precisely judged whether the unwanted change of brightness
such as a flicker is present in the moving image.