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 image
Image to mask
- contours [table]
Contours
Output ports¶
- result image
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¶
Implementation¶
- class node_contours.ContourToLabels[source]