pixels; means for combining the scaled edge value with the original luminance value of the pixel to provide an enhanced value; and means for adjusting the gain factor in -accordance with the relationship G???=G*log A, where G is a specified gain factor and A is the average luminance value of the neighboring pixels. 2.