For example, in the case where i???N???2, an average value ??Ta of differences between the output level of the notable pixel i and each of the output levels of the plural neighboring pixels i+1 through the neighboring pixel i+k for 2???k???N???1, where k is a natural number, is calculated, and the obtained average value ??Ta may be used to calculate the moving average number n of pixels by the fol