Class CChecker

java.lang.Object
org.opencv.core.Algorithm
org.opencv.objdetect.CChecker

public class CChecker extends Algorithm
CChecker checker object This class contains the information about the detected checkers,i.e, their type, the corners of the chart, the color profile, the cost, centers chart, etc.
  • Constructor Details

    • CChecker

      protected CChecker(long addr)
  • Method Details

    • __fromPtr__

      public static CChecker __fromPtr__(long addr)
    • create

      public static CChecker create()
      Create a new CChecker object.
      Returns:
      A pointer to the implementation of the CChecker
    • setBox

      public void setBox(MatOfPoint2f _box)
    • setChartsRGB

      public void setChartsRGB(Mat _chartsRGB)
    • setChartsYCbCr

      public void setChartsYCbCr(Mat _chartsYCbCr)
    • setCost

      public void setCost(float _cost)
    • setCenter

      public void setCenter(Point _center)
    • getBox

      public MatOfPoint2f getBox()
    • getColorCharts

      public MatOfPoint2f getColorCharts()
      Computes and returns the coordinates of the central parts of the charts modules. This method computes transformation matrix from the checkers's coordinates (CChecker::getBox()) and find by this the coordinates of the central parts of the charts modules. It is used in CCheckerDetector::draw() and in ChartsRGB calculation.
      Returns:
      automatically generated
    • getChartsRGB

      public Mat getChartsRGB(boolean getStats)
    • getChartsRGB

      public Mat getChartsRGB()
    • getChartsYCbCr

      public Mat getChartsYCbCr()
    • getCost

      public float getCost()
    • getCenter

      public Point getCenter()