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

mmdtshow - Display a distance transform image with an iso-line color table.


Synopsis
y = mmdtshow( f, n )
Input
f: Gray-scale (uint8 or uint16) image. Distance transform.
n: Boolean. Number of iso-contours. Default: 10.
Output
y: Gray-scale (uint8 or uint16) or binary image (logical uint8). Optionally return RGB uint8 image
Description
Displays the distance transform image f (uint8 or uint16) with a special gray-scale color table with n pseudo-color equaly spaced. The final appearance of this display is similar to an iso-contour image display. The infinity value, which is the maximum level allowed in the image, is displayed as black. The image is displayed in the MATLAB figure only if no output parameter is given.
Examples
f=mmreadgray('blob.tif');
fd=mmdist(f);
mmshow(fd);
mmdtshow(fd);
image
(fd)
image
(fd)
See Also
mmdist - Distance transform.
mmgdist - Geodesic Distance Transform.
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
mmdtshow.m

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