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::FiducialDetectorPluginICL1 Class Reference

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

#include <FiducialDetectorPluginICL1.h>

Inheritance diagram for icl::markers::FiducialDetectorPluginICL1:
icl::markers::FiducialDetectorPluginHierarchical icl::markers::FiducialDetectorPlugin icl::utils::Configurable

List of all members.

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 > &regions)
 defines how to find makers in the given vector of regions
virtual void addOrRemoveMarkers (bool add, const utils::Any &which, const utils::ParamList &params)
 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 &params)
 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.

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::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.

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.


Friends And Related Function Documentation

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

This class cannot be used.


Member Data Documentation

internal hidden data pointer

Reimplemented from icl::markers::FiducialDetectorPluginHierarchical.


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