🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.objdetect
クラス CChecker
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.objdetect.CChecker
public class CChecker extends Algorithm
CChecker チェッカーオブジェクト。このクラスは検出されたチェッカーに関する情報、すなわちその型、チャートのコーナー、カラープロファイル、コスト、チャートの中心などを保持する。
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedCChecker​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static CChecker__fromPtr__​(long addr)static CCheckercreate()Create a new CChecker object.MatOfPoint2fgetBox()PointgetCenter()MatgetChartsRGB()MatgetChartsRGB​(boolean getStats)MatgetChartsYCbCr()MatOfPoint2fgetColorCharts()Computes and returns the coordinates of the central parts of the charts modules.floatgetCost()voidsetBox​(MatOfPoint2f _box)voidsetCenter​(Point _center)voidsetChartsRGB​(Mat _chartsRGB)voidsetChartsYCbCr​(Mat _chartsYCbCr)voidsetCost​(float _cost)-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static CChecker __fromPtr__​(long addr)
-
create
public static CChecker create()
Create a new CChecker object.- 戻り値:
- 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 inCCheckerDetector::draw()and inChartsRGBcalculation.- 戻り値:
- 自動生成
-
getChartsRGB
public Mat getChartsRGB​(boolean getStats)
-
getChartsRGB
public Mat getChartsRGB()
-
getChartsYCbCr
public Mat getChartsYCbCr()
-
getCost
public float getCost()
-
getCenter
public Point getCenter()
-
-