visboundaries
Plot region boundaries
Syntax
Description
visboundaries(
draws boundaries of regions in the
binary image BW
)BW
on the current axes. BW
is
a 2-D binary image where pixels that are logical true
belong to
the foreground region and pixels that are logical false
constitute the background. visboundaries
uses bwboundaries
to find the boundary
pixel locations in the image.
visboundaries(
draws region boundaries
specified by B
)B
, where B
is a cell array
containing the boundary pixel locations of the regions, similar in structure to the
first output from bwboundaries
.
visboundaries(
draws
region boundaries on the axes specified by ax
,___)ax
. Specify
ax
as the first input argument followed by any of the input
argument combinations in the previous syntaxes.
visboundaries(___,
uses name-value arguments to specify additional properties of the boundaries.Name,Value
)
returns a handle h
= visboundaries(___)h
, for the boundaries.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015a