<< imdecorrstretch Image Enhancement and Restoration iminpaint >>

IPCV >> Image Enhancement and Restoration > imhistequal

imhistequal

Histogram Equalization

Syntax

y = imhistequal(x)

Parameters

x :

Source Image

y :

Output Image with enhanced contrast of images

Description

This method usually 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.

Examples

S = imread(fullpath(getIPCVpath() + "/images/Lena_dark.png"));
J = imhistequal(S);
imshow(S);
figure(); imshow(J);

See also

Authors

Bibliography

1. Wikipedia : http://en.wikipedia.org/wiki/Histogram_equalization


Report an issue
<< imdecorrstretch Image Enhancement and Restoration iminpaint >>