Image Component Library (ICL)
|
Fiducial Type for the MuliCamFiducialDetector. More...
#include <MultiCamFiducial.h>
Public Member Functions | |
MultiCamFiducial (MultiCamFiducialImpl *impl=0) | |
Constructor. More... | |
bool | isNull () const |
returns whether this is null-instance More... | |
int | getCamsFound () const |
returns the number of cameras this fiducial was actually detected in More... | |
Fiducial | operator[] (int idx) |
returns the underlying 2D fiducial detection result More... | |
const Fiducial | operator[] (int idx) const |
returns the underlying 2D fiducial detection retult (const version) More... | |
geom::Camera & | getCamera (int idx) |
returns the idx-th associated camera More... | |
const geom::Camera & | getCamera (int idx) const |
returns the idx-th associated camera (const version) More... | |
int | getID () const |
returns the associated marker ID More... | |
const math::FixedColVector< float, 3 > & | getCenter3D () const |
returns the 3D center of the marker More... | |
const math::FixedColVector< float, 3 > & | getOrientation3D () const |
returns the 3D orientation of the marker More... | |
const geom::Mat & | getPose3D () const |
returns the 6D-pose (in shape of a homogeneous transform) of the marker More... | |
Private Attributes | |
MultiCamFiducialImpl * | impl |
internal implementation More... | |
Fiducial Type for the MuliCamFiducialDetector.
MultiCamFiducials provide much more robust 3D information if they a constructed from several camera views
The MultiCamFiducialDetector provides a generic interface to detect fiducials in a set of camera views
|
inline |
Constructor.
geom::Camera& icl::markers::MultiCamFiducial::getCamera | ( | int | idx | ) |
returns the idx-th associated camera
Note, the camera can also be accessed from the idx-th Fiducial
const geom::Camera& icl::markers::MultiCamFiducial::getCamera | ( | int | idx | ) | const |
returns the idx-th associated camera (const version)
int icl::markers::MultiCamFiducial::getCamsFound | ( | ) | const |
returns the number of cameras this fiducial was actually detected in
The number of cameras can be a good indicator for the accuracy of the 3D position returned by getCenter3D(), getOrientation3D() and getPose3D()
const math::FixedColVector<float,3>& icl::markers::MultiCamFiducial::getCenter3D | ( | ) | const |
returns the 3D center of the marker
int icl::markers::MultiCamFiducial::getID | ( | ) | const |
returns the associated marker ID
const math::FixedColVector<float,3>& icl::markers::MultiCamFiducial::getOrientation3D | ( | ) | const |
returns the 3D orientation of the marker
const geom::Mat& icl::markers::MultiCamFiducial::getPose3D | ( | ) | const |
returns the 6D-pose (in shape of a homogeneous transform) of the marker
|
inline |
returns whether this is null-instance
Fiducial icl::markers::MultiCamFiducial::operator[] | ( | int | idx | ) |
returns the underlying 2D fiducial detection result
valid indices are [0,getCamsFound()-1]
const Fiducial icl::markers::MultiCamFiducial::operator[] | ( | int | idx | ) | const |
returns the underlying 2D fiducial detection retult (const version)
|
private |
internal implementation