You are here : matlabImage Processingimcolormaptool

imcolormaptool() - Image Processing

The Choose Colormap tool is an interactive colormap selection
tool that allows you to change the colormap of the target (current)
figure by selecting a colormap from a list of MATLABĀ® colormap
functions or workspace variables, or by entering a custom MATLAB expression.imcolormaptool launches the Choose Colormap
tool in a separate figure, which is associated with the target figure.imcolormaptool(hclientfig) launches the
Choose Colormap tool using hclientfig as the target
figure. hclientfig must contain either a grayscale
or an indexed image.hfig = imcolormaptool(...) returns a handle
to the Choose Colormap tool, hfig.


Syntax

imcolormaptoolimcolormaptool(hclientfig)hfig = imcolormaptool(...)


Example

h = figure;
imshow('cameraman.tif');
imcolormaptool(h);


Output / Return Value


Limitations


Alternatives / See Also


Reference