Class cv::mcc::CChecker#

checker object View details

Collaboration diagram for cv::mcc::CChecker:

Public Member Functions#

Public Member Functions inherited from cv::Algorithm

Return

Name

Description

Algorithm()

~Algorithm()

void

clear()

Clears the algorithm state.

bool

empty()

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

String

getDefaultName()

void

read(const FileNode & fn)

Reads algorithm parameters from a file storage.

void

save(const String & filename)

void

write(
    const Ptr< FileStorage > & fs,
    const String & name = String() )

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

void

write(
    FileStorage & fs,
    const String & name )

Static Public Member Functions#

Static Public Member Functions inherited from cv::Algorithm

Return

Name

Description

static Ptr< _Tp >

load(
    const String & filename,
    const String & objname = String() )

Loads algorithm from the file.

static Ptr< _Tp >

loadFromString(
    const String & strModel,
    const String & objname = String() )

Loads algorithm from a String.

static Ptr< _Tp >

read(const FileNode & fn)

Reads algorithm from the file node.

Additional Inherited Members#

Protected Member Functions inherited from cv::Algorithm

Return

Name

Description

void

writeFormat(FileStorage & fs)

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

~CChecker()#

cv::mcc::CChecker::~CChecker()

Member Function Documentation#

getBox()#

std::vector< Point2f > cv::mcc::CChecker::getBox()

Python:

cv.mcc.CChecker.getBox() -> retval

getCenter()#

Point2f cv::mcc::CChecker::getCenter()

Python:

cv.mcc.CChecker.getCenter() -> retval

getChartsRGB()#

Mat cv::mcc::CChecker::getChartsRGB(bool getStats = true)

Python:

cv.mcc.CChecker.getChartsRGB([, getStats]) -> retval

getChartsYCbCr()#

Mat cv::mcc::CChecker::getChartsYCbCr()

Python:

cv.mcc.CChecker.getChartsYCbCr() -> retval

getColorCharts()#

std::vector< Point2f > cv::mcc::CChecker::getColorCharts()

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

float cv::mcc::CChecker::getCost()

Python:

cv.mcc.CChecker.getCost() -> retval

getTarget()#

ColorChart cv::mcc::CChecker::getTarget()

Python:

cv.mcc.CChecker.getTarget() -> retval

setBox()#

void cv::mcc::CChecker::setBox(std::vector< Point2f > _box)

Python:

cv.mcc.CChecker.setBox(_box)

setCenter()#

void cv::mcc::CChecker::setCenter(Point2f _center)

Python:

cv.mcc.CChecker.setCenter(_center)

setChartsRGB()#

void cv::mcc::CChecker::setChartsRGB(Mat _chartsRGB)

Python:

cv.mcc.CChecker.setChartsRGB(_chartsRGB)

setChartsYCbCr()#

void cv::mcc::CChecker::setChartsYCbCr(Mat _chartsYCbCr)

Python:

cv.mcc.CChecker.setChartsYCbCr(_chartsYCbCr)

setCost()#

void cv::mcc::CChecker::setCost(float _cost)

Python:

cv.mcc.CChecker.setCost(_cost)

setTarget()#

void cv::mcc::CChecker::setTarget(ColorChart _target)

Python:

cv.mcc.CChecker.setTarget(_target)

create()#

static Ptr< CChecker > cv::mcc::CChecker::create()

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

Source file#

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