<< imdeconvwiener Image Enhancement and Restoration imhistequal >>

IPCV >> Image Enhancement and Restoration > imdecorrstretch

imdecorrstretch

Apply decorrelation stretch to multichannel image

Syntax

S = imdecorrstretch(I, tol, useCorr)

Parameters

I :

Input image

tol :

The fraction of the image to saturate at low and high intensities. If tol is an scalar, high intensity is 1 - tol.

useCorr :

1 to use correlation method, 0 to use covariance method.

S :

Stretched output image

Description

The primary purpose of decorrelation stretch is visual enhancement. Decorrelation stretching is a way to enhance the color differences in an image.

Examples

S = imread(fullpath(getIPCVpath() + "/images/" + 'baboon.png'));
S2 = imdecorrstretch(S);
subplot(121);imshow(S);
subplot(122);imshow(S2);

See also

Authors


Report an issue
<< imdeconvwiener Image Enhancement and Restoration imhistequal >>