|
OpenCV for Unity 3.0.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
|
checker object More...
Public Member Functions | |
| MatOfPoint2f | getBox () |
| Point | getCenter () |
| double double y | getCenterAsValueTuple () |
| Vec2d | getCenterAsVec2d () |
| Mat | getChartsRGB () |
| Mat | getChartsRGB (bool getStats) |
| Mat | getChartsYCbCr () |
| MatOfPoint2f | getColorCharts () |
| Computes and returns the coordinates of the central parts of the charts modules. | |
| float | getCost () |
| void | setBox (MatOfPoint2f _box) |
| void | setCenter (in Vec2d _center) |
| void | setCenter (in(double x, double y) _center) |
| void | setCenter (Point _center) |
| void | setChartsRGB (Mat _chartsRGB) |
| void | setChartsYCbCr (Mat _chartsYCbCr) |
| void | setCost (float _cost) |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
| virtual void | clear () |
| Clears the algorithm state. | |
| virtual bool | empty () |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
| virtual string | getDefaultName () |
| IntPtr | getNativeObjAddr () |
| void | save (string filename) |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| void | Dispose () |
| Releases resources used by this object. | |
| void | ThrowIfDisposed () |
| Throws ObjectDisposedException if this object has been disposed. | |
Static Public Member Functions | |
| static new CChecker | __fromPtr__ (IntPtr addr) |
| static CChecker | create () |
| Create a new CChecker object. | |
Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
| static Algorithm | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
| Returns the native pointer, or throws CoreModule.CvException if it is zero. | |
Public Attributes | |
| double | x |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
| DisposableOpenCVObject () | |
| Initializes a new instance with a zero native pointer and dispose enabled. | |
| DisposableOpenCVObject (bool isEnabledDispose) | |
| Initializes a new instance with a zero native pointer. | |
| DisposableOpenCVObject (IntPtr ptr) | |
| Initializes a new instance with the specified native pointer and dispose enabled. | |
| DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
| Initializes a new instance with the specified native pointer. | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
| DisposableObject () | |
| Initializes a new instance with dispose enabled. | |
| DisposableObject (bool isEnabledDispose) | |
| Initializes a new instance. | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
| bool | IsDisposed [get, protected set] |
| bool | IsEnabledDispose [get, set] |
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.
|
static |
|
static |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
| MatOfPoint2f OpenCVForUnity.ObjdetectModule.CChecker.getBox | ( | ) |
| Point OpenCVForUnity.ObjdetectModule.CChecker.getCenter | ( | ) |
| double double y OpenCVForUnity.ObjdetectModule.CChecker.getCenterAsValueTuple | ( | ) |
| Vec2d OpenCVForUnity.ObjdetectModule.CChecker.getCenterAsVec2d | ( | ) |
| Mat OpenCVForUnity.ObjdetectModule.CChecker.getChartsRGB | ( | ) |
| Mat OpenCVForUnity.ObjdetectModule.CChecker.getChartsRGB | ( | bool | getStats | ) |
| Mat OpenCVForUnity.ObjdetectModule.CChecker.getChartsYCbCr | ( | ) |
| MatOfPoint2f OpenCVForUnity.ObjdetectModule.CChecker.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.
| float OpenCVForUnity.ObjdetectModule.CChecker.getCost | ( | ) |
| void OpenCVForUnity.ObjdetectModule.CChecker.setBox | ( | MatOfPoint2f | _box | ) |
| void OpenCVForUnity.ObjdetectModule.CChecker.setCenter | ( | in Vec2d | _center | ) |
| void OpenCVForUnity.ObjdetectModule.CChecker.setCenter | ( | in(double x, double y) | _center | ) |
| void OpenCVForUnity.ObjdetectModule.CChecker.setCenter | ( | Point | _center | ) |
| void OpenCVForUnity.ObjdetectModule.CChecker.setChartsRGB | ( | Mat | _chartsRGB | ) |
| void OpenCVForUnity.ObjdetectModule.CChecker.setChartsYCbCr | ( | Mat | _chartsYCbCr | ) |
| void OpenCVForUnity.ObjdetectModule.CChecker.setCost | ( | float | _cost | ) |
| double OpenCVForUnity.ObjdetectModule.CChecker.x |