OpenCV
Open Source Computer Vision
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
cv::mcc::CChecker Class Referenceabstract

checker object More...

#include <opencv2/objdetect/mcc_checker_detector.hpp>

Collaboration diagram for cv::mcc::CChecker:

Public Member Functions

 CChecker ()
 
virtual ~CChecker ()
 
virtual std::vector< Point2fgetBox ()=0
 
virtual Point2f getCenter ()=0
 
virtual Mat getChartsRGB (bool getStats=true)=0
 
virtual Mat getChartsYCbCr ()=0
 
virtual std::vector< Point2fgetColorCharts ()=0
 Computes and returns the coordinates of the central parts of the charts modules.
 
virtual float getCost ()=0
 
virtual ColorChart getTarget ()=0
 
virtual void setBox (std::vector< Point2f > _box)=0
 
virtual void setCenter (Point2f _center)=0
 
virtual void setChartsRGB (Mat _chartsRGB)=0
 
virtual void setChartsYCbCr (Mat _chartsYCbCr)=0
 
virtual void setCost (float _cost)=0
 
virtual void setTarget (ColorChart _target)=0
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state.
 
virtual bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 Reads algorithm parameters from a file storage.
 
virtual void save (const String &filename) const
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage.
 
void write (FileStorage &fs, const String &name) const
 

Static Public Member Functions

static Ptr< CCheckercreate ()
 Create a new CChecker object.
 
- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 Loads algorithm from the file.
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String.
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 Reads algorithm from the file node.
 

Additional Inherited Members

- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

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.

Constructor & Destructor Documentation

◆ CChecker()

cv::mcc::CChecker::CChecker ( )
inline

◆ ~CChecker()

virtual cv::mcc::CChecker::~CChecker ( )
inlinevirtual

Member Function Documentation

◆ create()

static Ptr< CChecker > cv::mcc::CChecker::create ( )
static
Python:
cv.mcc.CChecker.create() -> retval
cv.mcc.CChecker_create() -> retval

Create a new CChecker object.

Returns
A pointer to the implementation of the CChecker

◆ getBox()

virtual std::vector< Point2f > cv::mcc::CChecker::getBox ( )
pure virtual
Python:
cv.mcc.CChecker.getBox() -> retval

◆ getCenter()

virtual Point2f cv::mcc::CChecker::getCenter ( )
pure virtual
Python:
cv.mcc.CChecker.getCenter() -> retval

◆ getChartsRGB()

virtual Mat cv::mcc::CChecker::getChartsRGB ( bool getStats = true)
pure virtual
Python:
cv.mcc.CChecker.getChartsRGB([, getStats]) -> retval

◆ getChartsYCbCr()

virtual Mat cv::mcc::CChecker::getChartsYCbCr ( )
pure virtual
Python:
cv.mcc.CChecker.getChartsYCbCr() -> retval

◆ getColorCharts()

virtual std::vector< Point2f > cv::mcc::CChecker::getColorCharts ( )
pure virtual
Python:
cv.mcc.CChecker.getColorCharts() -> retval

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()

virtual float cv::mcc::CChecker::getCost ( )
pure virtual
Python:
cv.mcc.CChecker.getCost() -> retval

◆ getTarget()

virtual ColorChart cv::mcc::CChecker::getTarget ( )
pure virtual
Python:
cv.mcc.CChecker.getTarget() -> retval

◆ setBox()

virtual void cv::mcc::CChecker::setBox ( std::vector< Point2f > _box)
pure virtual
Python:
cv.mcc.CChecker.setBox(_box) -> None

◆ setCenter()

virtual void cv::mcc::CChecker::setCenter ( Point2f _center)
pure virtual
Python:
cv.mcc.CChecker.setCenter(_center) -> None

◆ setChartsRGB()

virtual void cv::mcc::CChecker::setChartsRGB ( Mat _chartsRGB)
pure virtual
Python:
cv.mcc.CChecker.setChartsRGB(_chartsRGB) -> None

◆ setChartsYCbCr()

virtual void cv::mcc::CChecker::setChartsYCbCr ( Mat _chartsYCbCr)
pure virtual
Python:
cv.mcc.CChecker.setChartsYCbCr(_chartsYCbCr) -> None

◆ setCost()

virtual void cv::mcc::CChecker::setCost ( float _cost)
pure virtual
Python:
cv.mcc.CChecker.setCost(_cost) -> None

◆ setTarget()

virtual void cv::mcc::CChecker::setTarget ( ColorChart _target)
pure virtual
Python:
cv.mcc.CChecker.setTarget(_target) -> None

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