摘要 |
A method and an apparatus for enhancing images are provided. An input image generated by an imaging device, such as a short-wavelength infrared (SWIR) camera, sensor, or any other imaging device, is processed to produce an input histogram representing the distribution of pixel intensities in the input image. Histogram start and end points are determined, and a variable plateau profile is calculated depending upon the type of enhancement desired. The plateau profile could take on any desired shape or size, and two or more plateau regions could be included in the profile. The input histogram is clipped along the variable plateau profile. A cumulative histogram is constructed from the clipped histogram, and is normalized. The input image is then transformed into an enhanced output image using the normalized cumulative histogram as a look-up table. |