Contours to labels¶
Takes a contour and creates integer labels for an image based on a list of contours. Use the node Image to List to extract each region from these labels
Documentation¶
Takes a contour and creates integer labels for an image based on a list of contours. Use the node Image to List to extract each region from these labels
Definition¶
Input ports¶
- image
Type: imageDescription: Image to mask- contours
Type: [table]Description: Contours
Output ports¶
- result
Type: imageDescription: Resulting mask
Configuration¶
- X column (X)
Column names with contour X coordinates
- Y column (Y)
Column names with contour Y coordinates
- Type (close)
Select if the countour should be closed
Examples¶
Example flows demonstrating this node:
Implementation¶
- class node_contours.ContourToLabels[source]