A sum of the image signal levels of the picture elements within the scanning window is calculated, and A and N of the equations S=C???N+A are calculated, where C is a predetermined image signal level (e.g., black level and maximum level), N is an integer, and A is the image signal level falling within the range O???A<C. As a result of the preference operation, N picture elements are assigned a lev