[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] SDC Morphology Toolbox V1.1 15Jan02

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


Synopsis
y = mmlblshow( f, option )
Input
f: Gray-scale (uint8 or uint16) image. Labeled image.
option: String. BORDER or NOBORDER: includes or not a white border around each labeled region Default: 'noborder'.
Output
y: Gray-scale (uint8 or uint16) or binary image (logical uint8). 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');
image
(f1)
image
(f1)
image
(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.
Source code
mmlblshow.m

[Top] [Up] [Prev] [Next] [Up] [Basic Concepts] [Demonstrations] [Functions] Valid XHTML 1.0!
Copyright (c) 1998-2002 by SDC Information Systems