[mmlblshow] [Up] [mmgplot] Visualization

mmshow
Display binary or gray-scale images and optionally overlay it with binary images.

Synopsis

y = mmshow ( f , f1 = Null, f2 = Null, f3 = Null, f4 = Null, f5 = Null, f6 = Null, title = "mmshow", id = "mmshow" )

Input

f Image Gray-scale (uint8 or uint16) or binary image

f1 Image Binary image

Red overlay.

Default: Null

f2 Image Binary image

Green overlay.

Default: Null

f3 Image Binary image

Blue overlay.

Default: Null

f4 Image Binary image

Magenta overlay.

Default: Null

f5 Image Binary image

Yellow overlay.

Default: Null

f6 Image Binary image

Cyan overlay.

Default: Null

title String

Default: "mmshow" ('mmshow')

id String

Default: "mmshow" ('mmshow')

Output

y Image Gray-scale (uint8 or uint16) or binary image

Optionally return RGB uint8 image

Description

Displays the binary or gray-scale (uint8 or uint16) image f, and optionally overlay it with up to six binary images f1 to f6 in the following colors: f1 as red, f2 as green, f3 as blue, f4 as yellow, f5 as magenta, and f6 as cian. The image is displayed in the MATLAB figure only if no output parameter is given.

Examples

f=mmreadgray('mribrain.tif');
f150=mmthreshad(f,150);
Warning: upcasting image from scalar to uint8
f200=mmthreshad(f,200);
Warning: upcasting image from scalar to uint8
mmshow(f);
mmshow(f150);
mmshow(f,f150,f200);
f f150
f,f150,f200

See also

mmlblshow Display a labeled image assigning a random color for each label.
mmdtshow Display a distance transform image with an iso-line color table.
mmsurf Generate a shaded visualization image of a gray-scale image as a topographic model.
[mmlblshow] [Up] [mmgplot]