Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.87 KB

File metadata and controls

27 lines (19 loc) · 1.87 KB

Histogram Equalization vs Contrast Stretching

Histogram Equalization

Histogram Equalization increases the global contrast of many images, especially when the usable data of the image is represented by close contrast values. Through this adjustment, the intensities can be better distributed on the histogram. This allows for areas of lower local contrast to gain a higher contrast. Histogram equalization accomplishes this by effectively spreading out the most frequent intensity values.source

Contrast Stretching

Contrast is a measure of the “range” of an image; i.e. how spread its intensities are. It has many formal definitions one famous is Michelson’s: He says contrast = ( Imax - Imin )/( Imax + I min ) source Contrast Stretching and Histogram Equalisation have the same goal: making the images to use entire range of values available to them.

Visual Results

Scripts for producing the results are in scripts.

Input Image

alt text

Histogram Equalization

alt text alt text alt text alt text

Contrast Stretching

alt text