Computes an array of closed paths corresponding to the contours of the input region.
|inRegionConnectivity||RegionConnectivity||Region connectivity semantics|
The operation forms an array of paths that, depending on the value of the inContourMode parameter:
- Pass through the centers of boundary pixels of the region, if inContourMode is set to PixelCenters
- Run along the edges of boundary pixels of the region, if inContourMode is set to PixelEdges
To compute the approximation of the region perimeter length, one can use RegionPerimeterLength filter.
This filter is available on Basic Complexity Level.