Version of MarkerDetector using external container.
More...
#include <EC.h>
List of all members.
Public Member Functions |
template<typename T > |
int | Detect (IplImage *image, Camera *cam, std::map< int, T > &container, int type_id=0, int first_id=0, int last_id=65535, bool track=false, bool visualize=false, double max_new_marker_error=0.08, double max_track_error=0.2, LabelingMethod labeling_method=CVSEQ) |
| Detect markers in the image and fill in their 2D-positions in the given external container.
|
int | GetId (int marker_id, int corner_id, int first_id=0, int last_id=65535) |
template<typename T > |
void | MarkerToEC (std::map< int, T > &container, int marker_id, double edge_length, Pose &pose, int type_id=0, int first_id=0, int last_id=65535) |
| Fill in 3D-coordinates for marker_id marker corners using edge_length and pose.
|
Protected Member Functions |
template<typename T > |
bool | PreDetect (std::pair< const int, T > &p, int type_id) |
template<typename T > |
bool | PreDetect (T &p, int type_id) |
Detailed Description
template<class M>
class alvar::MarkerDetectorEC< M >
Version of MarkerDetector using external container.
Definition at line 656 of file EC.h.
Member Function Documentation
template<class M>
template<typename T >
int alvar::MarkerDetectorEC< M >::Detect |
( |
IplImage * |
image, |
|
|
Camera * |
cam, |
|
|
std::map< int, T > & |
container, |
|
|
int |
type_id = 0 , |
|
|
int |
first_id = 0 , |
|
|
int |
last_id = 65535 , |
|
|
bool |
track = false , |
|
|
bool |
visualize = false , |
|
|
double |
max_new_marker_error = 0.08 , |
|
|
double |
max_track_error = 0.2 , |
|
|
LabelingMethod |
labeling_method = CVSEQ |
|
) |
| [inline] |
Detect markers in the image and fill in their 2D-positions in the given external container.
Definition at line 675 of file EC.h.
Definition at line 669 of file EC.h.
template<class M>
template<typename T >
void alvar::MarkerDetectorEC< M >::MarkerToEC |
( |
std::map< int, T > & |
container, |
|
|
int |
marker_id, |
|
|
double |
edge_length, |
|
|
Pose & |
pose, |
|
|
int |
type_id = 0 , |
|
|
int |
first_id = 0 , |
|
|
int |
last_id = 65535 |
|
) |
| [inline] |
Fill in 3D-coordinates for marker_id marker corners using edge_length and pose.
Definition at line 720 of file EC.h.
template<class M>
template<typename T >
Definition at line 659 of file EC.h.
template<class M>
template<typename T >
Definition at line 663 of file EC.h.
The documentation for this class was generated from the following file: