Name

ShowColor Image — displays a color image in a figure window

Calling Sequence

FigureHandle = ShowImage(Image, Title);

Parameters

Image

3D matrix of type uint8, uint16, uint32 or double

Title

a string, can be empty

FigureHandle

handle to the window Image is displayed in

Description

ShowImage displays a color image in the current figure window. If no figure window exists, a new one is created.

Examples

RGB = ReadImage('contrib\IPD-3.3\demos\teaset.png'); 

FigureHandle = ShowColorImage(RGB, 'Color Image'); // image will be displayed

See also

Ind2RGB, RGB2Ind, ShowImage, DrawBoundingBoxes