Find label boundaries¶
Finds boundaries in a segmented image, returns boolean array with True in the pixels on the boundary between two labels
Definition¶
Input ports¶
- source image
source image to find boundaries in
Output ports¶
- mask image
mask with boundaries
Configuration¶
- Connectivity (connectivity)
Considered connectivity, either direct neighbours (1) or also along diagonals (2)
- Mode (mode)
How to mark boundaries: thick marks pixels that are adjacent to differing labels. Inner marks first pixel inside the objects, leaving background unchanged. Outer outlines the boundary of the background pixels to non-background.
Examples¶
Implementation¶
- class node_segmentation.FindBoundaries[source]