Class 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 Detail

      • CChecker

        protected CChecker​(long addr)
    • Method Detail

      • __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
      • setChartsRGB

        public void setChartsRGB​(Mat _chartsRGB)
      • setChartsYCbCr

        public void setChartsYCbCr​(Mat _chartsYCbCr)
      • setCost

        public void setCost​(float _cost)
      • setCenter

        public void setCenter​(Point _center)
      • 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()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class Algorithm
        Throws:
        java.lang.Throwable