gab.opencv
Class Contour
java.lang.Object
gab.opencv.Contour
public class Contour
- extends Object
pointMat
public MatOfPoint pointMat
Contour
public Contour(PApplet parent,
MatOfPoint mat)
Contour
public Contour(PApplet parent,
MatOfPoint2f mat)
loadPoints
public void loadPoints(Point[] pts)
setPolygonApproximationFactor
public void setPolygonApproximationFactor(double polygonApproximationFactor)
getPolygonApproximationFactor
public double getPolygonApproximationFactor()
getPolygonApproximation
public Contour getPolygonApproximation()
getConvexHull
public Contour getConvexHull()
draw
public void draw()
getPoints
public ArrayList<PVector> getPoints()
numPoints
public int numPoints()
getBoundingBox
public Rectangle getBoundingBox()
area
public float area()
Processing library opencv_processing by Greg Borenstein. (c) 2013