boofcv.alg.filter.binary
Class Contour
- java.lang.Object
-
- boofcv.alg.filter.binary.Contour
-
public class Contour extends java.lang.ObjectInternal and externals contours for a binary blob. The set of points in each contour list are ordered in CW or CCW directions.
-
-
Field Summary
Fields Modifier and Type Field and Description java.util.List<Point2D_I32>externalExternal contour around the blob.intidID of blob in the image.java.util.List<java.util.List<Point2D_I32>>internalInternal contours that are inside the blob.
-
Constructor Summary
Constructors Constructor and Description Contour()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Contourcopy()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.
-
external
public java.util.List<Point2D_I32> external
External contour around the blob.
-
internal
public java.util.List<java.util.List<Point2D_I32>> internal
Internal contours that are inside the blob.
-
-
Method Detail
-
reset
public void reset()
-
copy
public Contour copy()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG