visboundaries
情节区域边界
Syntax
visboundaries(BW)
visboundaries(B)
visboundaries(AX,___)
obj = visboundaries(___)
H = visboundaries(___,Name,Value)
Description
visboundaries(
draws boundaries of regions in the binary imageBW
)BW
上the current axes.BW
is a 2D binary image where pixels that are logical真的
属于前景区域和逻辑的像素false
constitute the background.visboundaries
用途Bwboundaries
to find the boundary pixel locations in the image.
visboundaries(
draws region boundaries specified byB
)B
, whereB
is a cell array containing the boundary pixel locations of the regions, similar in structure to the first output fromBwboundaries
. Each cell contains aQ-by-2 matrix, whereQ是啊f boundary pixels for the corresponding region. Each row of theseQ-by-2 matrices contains the row and column coordinates of a boundary pixel.
visboundaries(
draws region boundaries on the axes specified byAX
,___)AX
.
passes the name-value pair arguments to specify additional properties of the boundaries. Parameter names can be abbreviated.H
= visboundaries(___,Name,Value
)