Abstract:
A histogram-equalization method and circuit for enhancing an image signal represented by a predetermined number of gray levels is presented. The method calculates a cumulative density function and a mean level in a unit of a picture, and maps an input sample into a new gray level according to a transform function which is defined by use of the cumulative density function and the mean level. The method may also include a step of obtaining a compensated mean level by adding to the mean brightness level, so that the input sample is mapped into the compensated mean level according to the mean level. Thus, a brightness compensation may be carried out along with the contrast enhancement of the image.