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.
Loading...
Searching...
No Matches
OpenCVForUnity.ObjdetectModule.CChecker Class Reference

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]
 

Detailed Description

checker object

CChecker

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.

Member Function Documentation

◆ __fromPtr__()

static new CChecker OpenCVForUnity.ObjdetectModule.CChecker.__fromPtr__ ( IntPtr addr)
static

◆ create()

static CChecker OpenCVForUnity.ObjdetectModule.CChecker.create ( )
static

Create a new CChecker object.

Returns
A pointer to the implementation of the CChecker

◆ Dispose()

override void OpenCVForUnity.ObjdetectModule.CChecker.Dispose ( bool disposing)
protectedvirtual

◆ getBox()

MatOfPoint2f OpenCVForUnity.ObjdetectModule.CChecker.getBox ( )

◆ getCenter()

Point OpenCVForUnity.ObjdetectModule.CChecker.getCenter ( )

◆ getCenterAsValueTuple()

double double y OpenCVForUnity.ObjdetectModule.CChecker.getCenterAsValueTuple ( )

◆ getCenterAsVec2d()

Vec2d OpenCVForUnity.ObjdetectModule.CChecker.getCenterAsVec2d ( )

◆ getChartsRGB() [1/2]

Mat OpenCVForUnity.ObjdetectModule.CChecker.getChartsRGB ( )

◆ getChartsRGB() [2/2]

Mat OpenCVForUnity.ObjdetectModule.CChecker.getChartsRGB ( bool getStats)

◆ getChartsYCbCr()

Mat OpenCVForUnity.ObjdetectModule.CChecker.getChartsYCbCr ( )

◆ getColorCharts()

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.

◆ getCost()

float OpenCVForUnity.ObjdetectModule.CChecker.getCost ( )

◆ setBox()

void OpenCVForUnity.ObjdetectModule.CChecker.setBox ( MatOfPoint2f _box)

◆ setCenter() [1/3]

void OpenCVForUnity.ObjdetectModule.CChecker.setCenter ( in Vec2d _center)

◆ setCenter() [2/3]

void OpenCVForUnity.ObjdetectModule.CChecker.setCenter ( in(double x, double y) _center)

◆ setCenter() [3/3]

void OpenCVForUnity.ObjdetectModule.CChecker.setCenter ( Point _center)

◆ setChartsRGB()

void OpenCVForUnity.ObjdetectModule.CChecker.setChartsRGB ( Mat _chartsRGB)

◆ setChartsYCbCr()

void OpenCVForUnity.ObjdetectModule.CChecker.setChartsYCbCr ( Mat _chartsYCbCr)

◆ setCost()

void OpenCVForUnity.ObjdetectModule.CChecker.setCost ( float _cost)

Member Data Documentation

◆ x

double OpenCVForUnity.ObjdetectModule.CChecker.x

The documentation for this class was generated from the following files: