Class CChecker
java.lang.Object
org.opencv.core.Algorithm
org.opencv.objdetect.CChecker
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.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CChecker__fromPtr__(long addr) static CCheckercreate()Create a new CChecker object.getBox()getChartsRGB(boolean getStats) Computes and returns the coordinates of the central parts of the charts modules.floatgetCost()voidsetBox(MatOfPoint2f _box) voidvoidsetChartsRGB(Mat _chartsRGB) voidsetChartsYCbCr(Mat _chartsYCbCr) voidsetCost(float _cost) Methods inherited from class Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
Constructor Details
-
CChecker
protected CChecker(long addr)
-
-
Method Details
-
__fromPtr__
-
create
Create a new CChecker object.- Returns:
- A pointer to the implementation of the CChecker
-
setBox
-
setChartsRGB
-
setChartsYCbCr
-
setCost
public void setCost(float _cost) -
setCenter
-
getBox
-
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 inCCheckerDetector::draw()and inChartsRGBcalculation.- Returns:
- automatically generated
-
getChartsRGB
-
getChartsRGB
-
getChartsYCbCr
-
getCost
public float getCost() -
getCenter
-