- All Known Implementing Classes:
RegionContourSegmentation
public interface ContourTracer
This interface defines the functionality of region segmentations that perform contour extraction.
- Version:
- 2020/04/01
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves all inner contours of the associated region labeling.getInnerContours
(boolean sort) Retrieves all inner contours of the associated region labeling.Retrieves all outer contours of the associated region labeling.getOuterContours
(boolean sort) Retrieves all outer contours of the associated region labeling.
-
Method Details
-
getInnerContours
Retrieves all inner contours of the associated region labeling.- Returns:
- the list of inner contours.
-
getInnerContours
Retrieves all inner contours of the associated region labeling.- Parameters:
sort
- set true to sort contours by (descending) length.- Returns:
- the list of inner contours.
-
getOuterContours
Retrieves all outer contours of the associated region labeling.- Returns:
- the list of outer contours.
-
getOuterContours
Retrieves all outer contours of the associated region labeling.- Parameters:
sort
- set true to sort contours by (descending) length.- Returns:
- the list of outer contours.
-