Image Component Library (ICL)
|
FiducialDetectorPlugin for ARToolkit+ like markers using BCH coded IDs. More...
#include <FiducialDetectorPluginBCH.h>
Public Member Functions | |
~FiducialDetectorPluginBCH () | |
Destructor. | |
virtual void | addOrRemoveMarkers (bool add, const utils::Any &which, const utils::ParamList ¶ms) |
loads markers ID's | |
void | prepareForPatchClassification () |
extracts and stores some properties locally to speed up classifyPatch | |
virtual FiducialImpl * | classifyPatch (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 ¶ms) |
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. |
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.
only the FiducialDetector can instantiate this class
virtual void icl::markers::FiducialDetectorPluginBCH::addOrRemoveMarkers | ( | bool | add, |
const utils::Any & | which, | ||
const utils::ParamList & | params | ||
) | [virtual] |
loads markers ID's
add | |
which | this 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
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.
void icl::markers::FiducialDetectorPluginBCH::prepareForPatchClassification | ( | ) | [virtual] |
extracts and stores some properties locally to speed up classifyPatch
Reimplemented from icl::markers::FiducialDetectorPluginForQuads.
friend class icl::markers::FiducialDetector [friend] |
This class cannot be used.
Reimplemented from icl::markers::FiducialDetectorPluginForQuads.
Data* icl::markers::FiducialDetectorPluginBCH::data [private] |
Internal data pointer.
Reimplemented from icl::markers::FiducialDetectorPluginForQuads.