imadjust
Adjust image intensity values or colormap
Syntax
Description
maps the intensity values in grayscale image J
= imadjust(I
)I
to new
values in J
. When you use this syntax,
imadjust
saturates the bottom 1% and the top 1% of all
pixel values. The function linearly maps pixel values between the saturation
limits to values between 0 and 1. This operation increases the contrast of the
output image J
.
This syntax is equivalent to imadjust(I,
.stretchlim
(I))
maps intensity values in J
= imadjust(I
,[low_in
high_in]
)I
to
new values in J
such that values between
low_in
and high_in
linearly map to
values between 0 and 1.
maps
intensity values in J
= imadjust(I
,[low_in
high_in]
,[low_out high_out]
)I
to new values in
J
such that values between low_in
and high_in
linearly map to values between
low_out
and high_out
.
maps intensity values in J
= imadjust(I
,[low_in
high_in]
,[low_out high_out]
,gamma
)I
to new values in
J
, where gamma
specifies the shape
of the curve describing the relationship between the values in
I
and J
.
maps the values in truecolor image J
= imadjust(RGB
,[low_in
high_in]
,___)RGB
to new values in
J
. You can apply the same mapping or unique mappings
for each color channel.
maps the values in colormap newcmap
= imadjust(cmap
,[low_in
high_in]
,___)cmap
to new values in
newcmap
. You can apply the same mapping or unique
mappings for each color channel.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced before R2006a
See Also
brighten
| histeq
| stretchlim
| lin2rgb
| rgb2lin