stretchlim
Find limits to contrast stretch image
Description
computes the lower and upper limits that can be used for contrast stretching
grayscale or RGB image lowhigh
= stretchlim(I
)I
. The limits are returned in
lowhigh
. By default, the limits specify the bottom 1% and
the top 1% of all pixel values.
You can adjust the contrast of image I
according to the
limits lowhigh
by using the imadjust
function.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced before R2006a
See Also
brighten
| decorrstretch
| histeq
| imadjust