Public Member Functions | Private Member Functions | Private Attributes
ChromaticMask Class Reference

#include <chromaticmask.h>

List of all members.

Public Member Functions

void calculateGridImage (const aruco::Board &board)
 ChromaticMask ()
void classify (const cv::Mat &in, const aruco::Board &board)
void classify2 (const cv::Mat &in, const aruco::Board &board)
cv::Mat getCellMap ()
cv::Mat getMask ()
bool isValid ()
void resetMask ()
void setParams (unsigned int mc, unsigned int nc, double threshProb, aruco::CameraParameters CP, aruco::BoardConfiguration BC, vector< cv::Point3f > corners)
void setParams (unsigned int mc, unsigned int nc, double threshProb, aruco::CameraParameters CP, aruco::BoardConfiguration BC, float markersize=-1.)
void train (const cv::Mat &in, const aruco::Board &board)
void update (const cv::Mat &in)

Private Member Functions

double getDistance (cv::Point2d pixel, unsigned int classifier)

Private Attributes

aruco::BoardDetector _BD
cv::Mat _canonicalPos
vector< vector< size_t > > _cell_neighbours
vector< cv::Point2f > _cellCenters
cv::Mat _cellMap
const float _cellSize
vector< cv::Point2f > _centers
vector< EMClassifier_classifiers
aruco::CameraParameters _CP
vector< cv::Point2f > _imgCornerPoints
bool _isValid
cv::Mat _mask
cv::Mat _maskAux
unsigned int _mc
unsigned int _nc
vector< cv::Point3f > _objCornerPoints
cv::Mat _perpTrans
vector< cv::Point2f > _pixelsVector
double _threshProb

Detailed Description

Definition at line 72 of file chromaticmask.h.


Constructor & Destructor Documentation

Definition at line 74 of file chromaticmask.h.


Member Function Documentation

Definition at line 225 of file chromaticmask.cpp.

void ChromaticMask::classify ( const cv::Mat &  in,
const aruco::Board board 
)

Definition at line 323 of file chromaticmask.cpp.

void ChromaticMask::classify2 ( const cv::Mat &  in,
const aruco::Board board 
)

Definition at line 377 of file chromaticmask.cpp.

cv::Mat ChromaticMask::getCellMap ( ) [inline]

Definition at line 82 of file chromaticmask.h.

double ChromaticMask::getDistance ( cv::Point2d  pixel,
unsigned int  classifier 
) [inline, private]

Definition at line 94 of file chromaticmask.h.

cv::Mat ChromaticMask::getMask ( ) [inline]

Definition at line 83 of file chromaticmask.h.

bool ChromaticMask::isValid ( ) [inline]

Definition at line 90 of file chromaticmask.h.

Definition at line 469 of file chromaticmask.cpp.

void ChromaticMask::setParams ( unsigned int  mc,
unsigned int  nc,
double  threshProb,
aruco::CameraParameters  CP,
aruco::BoardConfiguration  BC,
vector< cv::Point3f >  corners 
)

Definition at line 170 of file chromaticmask.cpp.

void ChromaticMask::setParams ( unsigned int  mc,
unsigned int  nc,
double  threshProb,
aruco::CameraParameters  CP,
aruco::BoardConfiguration  BC,
float  markersize = -1. 
)

Definition at line 124 of file chromaticmask.cpp.

void ChromaticMask::train ( const cv::Mat &  in,
const aruco::Board board 
)

Definition at line 275 of file chromaticmask.cpp.

void ChromaticMask::update ( const cv::Mat &  in)

Definition at line 445 of file chromaticmask.cpp.


Member Data Documentation

Definition at line 111 of file chromaticmask.h.

cv::Mat ChromaticMask::_canonicalPos [private]

Definition at line 113 of file chromaticmask.h.

vector< vector< size_t > > ChromaticMask::_cell_neighbours [private]

Definition at line 106 of file chromaticmask.h.

vector< cv::Point2f > ChromaticMask::_cellCenters [private]

Definition at line 105 of file chromaticmask.h.

cv::Mat ChromaticMask::_cellMap [private]

Definition at line 113 of file chromaticmask.h.

const float ChromaticMask::_cellSize [private]

Definition at line 107 of file chromaticmask.h.

vector< cv::Point2f > ChromaticMask::_centers [private]

Definition at line 103 of file chromaticmask.h.

Definition at line 102 of file chromaticmask.h.

Definition at line 112 of file chromaticmask.h.

vector< cv::Point2f > ChromaticMask::_imgCornerPoints [private]

Definition at line 99 of file chromaticmask.h.

bool ChromaticMask::_isValid [private]

Definition at line 114 of file chromaticmask.h.

cv::Mat ChromaticMask::_mask [private]

Definition at line 113 of file chromaticmask.h.

cv::Mat ChromaticMask::_maskAux [private]

Definition at line 113 of file chromaticmask.h.

unsigned int ChromaticMask::_mc [private]

Definition at line 110 of file chromaticmask.h.

unsigned int ChromaticMask::_nc [private]

Definition at line 110 of file chromaticmask.h.

vector< cv::Point3f > ChromaticMask::_objCornerPoints [private]

Definition at line 100 of file chromaticmask.h.

cv::Mat ChromaticMask::_perpTrans [private]

Definition at line 101 of file chromaticmask.h.

vector< cv::Point2f > ChromaticMask::_pixelsVector [private]

Definition at line 104 of file chromaticmask.h.

double ChromaticMask::_threshProb [private]

Definition at line 115 of file chromaticmask.h.


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


asr_aruco_marker_recognition
Author(s): Allgeyer Tobias, Meißner Pascal, Qattan Mohamad
autogenerated on Thu Jun 6 2019 21:14:12