Package org.anchoranalysis.plugin.opencv
Class CVFindContours
Object
CVFindContours
Wrapper around OpenCV's findContours
function.
-
Method Summary
Modifier and TypeMethodDescriptioncontoursForObject(ObjectMask object) Calculates the extreme outer contours from anObjectMaskas OpenCV defines contours.
-
Method Details
-
contoursForObject
Calculates the extreme outer contours from anObjectMaskas OpenCV defines contours.The setting
Imgproc.RETR_EXTERNALdefines the extreme outer contours. Please see the related OpenCV documentation.No approximation occurs of the contours' points.
- Parameters:
object- the object whose contours should be found.- Returns:
- a newly created list, containing the extreme outer contours.
- Throws:
OperationFailedException- if the countour cannot be calculated.
-