Image Component Library (ICL)
|
FiducialDetectorPlugin for ARToolkit+ like markers using BCH coded IDs. More...
#include <FiducialDetectorPluginICL1.h>
Public Member Functions | |
~FiducialDetectorPluginICL1 () | |
Destructor. | |
virtual void | getCorners2D (std::vector< utils::Point32f > &dst, FiducialImpl &impl) |
this is the only feature that is computed in a deferred way | |
virtual void | getRotation2D (float &dst, FiducialImpl &impl) |
deferred rotation calculation | |
virtual void | getFeatures (Fiducial::FeatureSet &dst) |
defines which features are supported | |
virtual void | detect (std::vector< FiducialImpl * > &dst, const std::vector< cv::ImageRegion > ®ions) |
defines how to find makers in the given vector of regions | |
virtual void | addOrRemoveMarkers (bool add, const utils::Any &which, const utils::ParamList ¶ms) |
defines how to load/remove marker definitions | |
virtual void | getKeyPoints2D (std::vector< Fiducial::KeyPoint > &dst, FiducialImpl &impl) |
returns how to compute a list of image-position/marker-position correspondences | |
virtual core::Img8u | createMarker (const utils::Any &whichOne, const utils::Size &size, const utils::ParamList ¶ms) |
creates an image of a given marker | |
Private Member Functions | |
FiducialDetectorPluginICL1 () | |
only the FiducialDetector can instantiate this class | |
Private Attributes | |
Data * | data |
internal hidden 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::FiducialDetectorPluginICL1::addOrRemoveMarkers | ( | bool | add, |
const utils::Any & | which, | ||
const utils::ParamList & | params | ||
) | [virtual] |
defines how to load/remove marker definitions
The Any paramter 'which' can either be a filename to a file that contains TwoLevelRegionStructure codes per row, or a newline or comma or space separated list of TwoLevelRegionStructure codes. The ParamList params is not used here.
Implements icl::markers::FiducialDetectorPluginHierarchical.
virtual core::Img8u icl::markers::FiducialDetectorPluginICL1::createMarker | ( | const utils::Any & | whichOne, |
const utils::Size & | size, | ||
const utils::ParamList & | params | ||
) | [virtual] |
creates an image of a given marker
Reimplemented from icl::markers::FiducialDetectorPlugin.
virtual void icl::markers::FiducialDetectorPluginICL1::detect | ( | std::vector< FiducialImpl * > & | dst, |
const std::vector< cv::ImageRegion > & | regions | ||
) | [virtual] |
defines how to find makers in the given vector of regions
Implements icl::markers::FiducialDetectorPluginHierarchical.
virtual void icl::markers::FiducialDetectorPluginICL1::getCorners2D | ( | std::vector< utils::Point32f > & | dst, |
FiducialImpl & | impl | ||
) | [virtual] |
this is the only feature that is computed in a deferred way
Returns the region boundary
Reimplemented from icl::markers::FiducialDetectorPlugin.
virtual void icl::markers::FiducialDetectorPluginICL1::getFeatures | ( | Fiducial::FeatureSet & | dst | ) | [virtual] |
defines which features are supported
Implements icl::markers::FiducialDetectorPluginHierarchical.
virtual void icl::markers::FiducialDetectorPluginICL1::getKeyPoints2D | ( | std::vector< Fiducial::KeyPoint > & | dst, |
FiducialImpl & | impl | ||
) | [virtual] |
returns how to compute a list of image-position/marker-position correspondences
The 2D-keypoints are the most common information that is use to compute a markers 3D information. Each keypoint defines a 2D marker location in [mm] and a corresponding image location
Reimplemented from icl::markers::FiducialDetectorPlugin.
virtual void icl::markers::FiducialDetectorPluginICL1::getRotation2D | ( | float & | dst, |
FiducialImpl & | impl | ||
) | [virtual] |
deferred rotation calculation
Reimplemented from icl::markers::FiducialDetectorPlugin.
friend class icl::markers::FiducialDetector [friend] |
This class cannot be used.
Data* icl::markers::FiducialDetectorPluginICL1::data [private] |
internal hidden data pointer
Reimplemented from icl::markers::FiducialDetectorPluginHierarchical.