Adjust image intensity values or colormap
maps the intensity values in grayscale imageJ
= imadjust(I
)I
to new values inJ
. By default,imadjust
saturates the bottom 1% and the top 1% of all pixel values. This operation increases the contrast of the output imageJ
.
This syntax is equivalent toimadjust(I,
.stretchlim
(I))
maps intensity values inJ
= imadjust(I
,[low_in high_in]
)I
to new values inJ
such that values betweenlow_in
andhigh_in
map to values between 0 and 1.
maps intensity values inJ
= imadjust(I
,[low_in high_in]
,[low_out high_out]
)I
to new values inJ
such that values betweenlow_in
andhigh_in
map to values betweenlow_out
andhigh_out
.
maps intensity values inJ
= imadjust(I
,[low_in high_in]
,[low_out high_out]
,gamma
)I
to new values inJ
, wheregamma
specifies the shape of the curve describing the relationship between the values inI
andJ
.
maps the values in truecolor imageJ
= imadjust(RGB
,[low_in high_in]
,___)RGB
to new values inJ
. You can apply the same mapping or unique mappings for each color channel.
maps the values in colormapnewmap
= imadjust(cmap
,[low_in high_in]
,___)cmap
to new values innewmap
. You can apply the same mapping or unique mappings for each color channel.