Image Processing Toolbox User's Guide Previous page   Next Page
decorrstretch

Apply a decorrelation stretch to a multichannel image

Syntax

Description

S = decorrstretch(I) applies a decorrelation stretch to a multichannel image I and returns the result in S. S has the same size and class as I. The mean and variance in each band are the same as in I.

S = decorrstretch(I,TOL) applies a contrast following the decorrelation stretch. The contrast stretch is controlled by TOL:

Notes

The decorrelation stretch is normally applied to three band images (ordinary RGB images or RGB multispectral composite images), but decorrstretch works on an arbitrary number of bands.

The primary purpose of decorrelation stretch is visual enhancement. Small adjustments to TOL can strongly affect the visual appearance of the output.

Class Support

The input image must be of class uint8, uint16, int16, single, or double.

Example

See Also

imadjust, stretchlim


Previous page  deconvwnr dicomanon Next page

© 1994-2005 The MathWorks, Inc.