[mmdtshow] [Up] [mmshow] Visualization

mmlblshow
Display a labeled image assigning a random color for each label.

Synopsis

function y = mmlblshow ( f , option , title , id )

Input

f Image Gray-scale (uint8 or uint16) image

Labeled image.

option String

Default: 'noborder'

BORDER or NOBORDER: includes or not a white border around each labeled region

title String

Default: 'mmlblshow'

id String

Default: 'mmlblshow'

Output

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

Optionally return RGB uint8 image

Description

Displays the labeled image f (uint8 or uint16) with a pseudo color where each label appears with a random color. The image is displayed in the MATLAB figure only if no output parameter is given.

Examples

f=mmreadgray('blob3.tif');
f1=mmlabel(f,mmsebox);
mmshow(f1);
mmlblshow(f1);
mmlblshow(f1,'border');
f1 f1 f1,'border'

See also

mmlabel Label a binary image.
mmlblshow Display a labeled image assigning a random color for each label.
mmshow Display binary or gray-scale images and optionally overlay it with binary images.
mmsurf Generate a shaded visualization image of a gray-scale image as a topographic model.
[mmdtshow] [Up] [mmshow]