Package boofcv.alg.filter.binary
Class ContourPacked
- java.lang.Object
-
- boofcv.alg.filter.binary.ContourPacked
-
public class ContourPacked extends java.lang.ObjectInternal and externals contours for a binary blob with the actual points stored in aPackedSetsPoint2D_I32. The set of points in each contour list are ordered in CW or CCW directions.
-
-
Field Summary
Fields Modifier and Type Field Description intexternalIndexIndex in the packed list of the external contourintidID of blob in the image.org.ddogleg.struct.GrowQueue_I32internalIndexesIndex for each internal contour
-
Constructor Summary
Constructors Constructor Description ContourPacked()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContourPackedcopy()voidreset()
-
-
-
Field Detail
-
id
public int id
ID of blob in the image. Pixels belonging to this blob in the labeled image will have this pixel value.
-
externalIndex
public int externalIndex
Index in the packed list of the external contour
-
internalIndexes
public org.ddogleg.struct.GrowQueue_I32 internalIndexes
Index for each internal contour
-
-
Method Detail
-
reset
public void reset()
-
copy
public ContourPacked copy()
-
-