The border-detection operation is done via the mathematical morphology operation
where volume is the input binary-valued volume. The connectivity selected (parameter ``conectivity = '') determines the connectivity property of border points.
connectivity = 6When ``connectivity = 6'', all ``1'' points in the input volume that are 6-connected to a ``0'' (points in the background) are singled out as border points. A similar interpretation applies to the case ``connectivity = 26''.
input from vol # = 0
copy output to vol # = 0
Philip Americus