Package boofcv.abst.filter.binary
Interface BinaryLabelContourFinder
-
- All Superinterfaces:
BinaryContourInterface
- All Known Implementing Classes:
BinaryLabelContourFinderChang2004
public interface BinaryLabelContourFinder extends BinaryContourInterface
Interface for finding contours around binary blobs and labeling the image at the same time. To get the points in a contour invokeBinaryContourInterface.loadContour(int, org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_I32>)with the ID of the contour you wish to load. Adjusting the max contour size is useful in situations were memory is limited. Same for turning off inner contours. NOTE: Contours which are too small or too large are still included in the list of contours, but their contour points will not be stored. To see if it was excluded you need to load the contour and see if it has zero points. This is done because the blobs the contours came from will still be in the labeled image. Defaults:ConnectRule.FOUR- Inner Contours Enabled
- Infinite Contour Size
- See Also:
LinearContourLabelChang2004
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface boofcv.abst.filter.binary.BinaryContourInterface
BinaryContourInterface.Padded
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(boofcv.struct.image.GrayU8 binary, boofcv.struct.image.GrayS32 labeled)Processes the binary image to find the contour of and label blobs.-
Methods inherited from interface boofcv.abst.filter.binary.BinaryContourInterface
getConnectRule, getContours, getMaxContour, getMinContour, isSaveInternalContours, loadContour, setConnectRule, setMaxContour, setMinContour, setSaveInnerContour, writeContour
-
-