Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes | Friends
icl::markers::FiducialDetectorPluginBCH Class Reference

FiducialDetectorPlugin for ARToolkit+ like markers using BCH coded IDs. More...

#include <FiducialDetectorPluginBCH.h>

Inheritance diagram for icl::markers::FiducialDetectorPluginBCH:
icl::markers::FiducialDetectorPluginForQuads icl::markers::FiducialDetectorPlugin icl::utils::Configurable

List of all members.

Public Member Functions

 ~FiducialDetectorPluginBCH ()
 Destructor.
virtual void addOrRemoveMarkers (bool add, const utils::Any &which, const utils::ParamList &params)
 loads markers ID's
void prepareForPatchClassification ()
 extracts and stores some properties locally to speed up classifyPatch
virtual FiducialImplclassifyPatch (const core::Img8u &image, int *rot, bool returnRejectedQuads, cv::ImageRegion r)
 Identifies the given image patch using bch decoding.
virtual void getQuadRectificationParameters (utils::Size &markerSizeWithBorder, utils::Size &markerSizeWithoutBorder)
 describes the marker rectification parameters
virtual core::Img8u createMarker (const utils::Any &whichOne, const utils::Size &size, const utils::ParamList &params)
 creates bch marker image

Private Member Functions

 FiducialDetectorPluginBCH ()
 only the FiducialDetector can instantiate this class

Private Attributes

Data * data
 Internal data pointer.

Friends

class icl::markers::FiducialDetector
 This class cannot be used.

Detailed Description

FiducialDetectorPlugin for ARToolkit+ like markers using BCH coded IDs.

This is just a plugin class that is used by the FiducialDetector. Please refer the icl::markers::FiducialDetector class documentation for more details.


Constructor & Destructor Documentation

only the FiducialDetector can instantiate this class

Destructor.


Member Function Documentation

virtual void icl::markers::FiducialDetectorPluginBCH::addOrRemoveMarkers ( bool  add,
const utils::Any which,
const utils::ParamList params 
) [virtual]

loads markers ID's

Parameters:
add
whichthis any instance can be ... of type int (then, only the corresponding marker ID is loaded) of type utils::Range32s "[a,b]", (then all markers within the range are loaded) of something like {a,b,c,d,...} then all marker IDs in the list are loaded

Please note that other types might be interpreted in the wrong way. Mandatory parameter is "size". Please refer to the documentation of icl::markers::FiducialDetector::loadMarkers for more details

Parameters:
params

Implements icl::markers::FiducialDetectorPluginForQuads.

virtual FiducialImpl* icl::markers::FiducialDetectorPluginBCH::classifyPatch ( const core::Img8u image,
int *  rot,
bool  returnRejectedQuads,
cv::ImageRegion  r 
) [virtual]

Identifies the given image patch using bch decoding.

Implements icl::markers::FiducialDetectorPluginForQuads.

virtual core::Img8u icl::markers::FiducialDetectorPluginBCH::createMarker ( const utils::Any whichOne,
const utils::Size size,
const utils::ParamList params 
) [virtual]

creates bch marker image

Reimplemented from icl::markers::FiducialDetectorPlugin.

virtual void icl::markers::FiducialDetectorPluginBCH::getQuadRectificationParameters ( utils::Size markerSizeWithBorder,
utils::Size markerSizeWithoutBorder 
) [virtual]

describes the marker rectification parameters

Implements icl::markers::FiducialDetectorPluginForQuads.

extracts and stores some properties locally to speed up classifyPatch

Reimplemented from icl::markers::FiducialDetectorPluginForQuads.


Friends And Related Function Documentation

friend class icl::markers::FiducialDetector [friend]

This class cannot be used.

Reimplemented from icl::markers::FiducialDetectorPluginForQuads.


Member Data Documentation

Internal data pointer.

Reimplemented from icl::markers::FiducialDetectorPluginForQuads.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines