home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
demo
/
wit4711
/
lib
/
help
/
morpho
/
skeleton.
/
skeleton.bin
Wrap
Text File
|
1995-12-09
|
1KB
|
20 lines
OPERATOR
skeleton --- binary medial-axis filter
DESCRIPTION
The skeleton operator is used to generate single pixel wide skeletons of
objects given a binary input image. After each execution of this operator, an
output image is generated at the top output port in conjunction with a
pixelsRemoved value at the bottom output port. This value represents the number
of pixels removed in the image and is an integer object. It is when the
pixelsRemoved value reaches zero that objects have reduced to medial axes.
Since repeated calls of this operator are necessary before skeletons result
the if operator is required. The if true branch is connected to the skeleton
operator input and the if conditional parameter port is connected to the
pixelsRemoved output port. Skeletons will appear out the false branch when
pixelsRemoved reaches zero. By settting a probe on the output of the skeleton
operator, one can watch the image gradually collapse to its skeletal form.