MarkerDetector for detecting markers of type M More...
#include <MarkerDetector.h>
Public Member Functions | |
MarkerDetector () | |
~MarkerDetector () | |
Public Member Functions inherited from alvar::MarkerDetectorImpl | |
int | Detect (IplImage *image, Camera *cam, bool track=false, bool visualize=false, double max_new_marker_error=0.08, double max_track_error=0.2, LabelingMethod labeling_method=CVSEQ, bool update_pose=true) |
Detect Marker 's from image More... | |
int | DetectAdditional (IplImage *image, Camera *cam, bool visualize=false, double max_track_error=0.2) |
void | SetMarkerSize (double _edge_length=1, int _res=5, double _margin=2) |
void | SetMarkerSizeForId (unsigned long id, double _edge_length=1) |
void | SetOptions (bool _detect_pose_grayscale=false) |
void | TrackMarkerAdd (int id, PointDouble corners[4]) |
Add markers to be tracked Sometimes application or e.g. the MultiMarker implementation knows more about marker locations. Then this method can be used after Detect to indicate where additional trackable markers could be found. The DetectAdditional is called for tracking these. More... | |
void | TrackMarkersReset () |
Clear the markers that are tracked. More... | |
Public Attributes | |
std::vector< M, Eigen::aligned_allocator< M > > * | markers |
std::vector< M, Eigen::aligned_allocator< M > > * | track_markers |
Protected Member Functions | |
void | _markers_clear () |
void | _markers_push_back (Marker *mn) |
size_t | _markers_size () |
void | _swap_marker_tables () |
Marker * | _track_markers_at (size_t i) |
void | _track_markers_clear () |
void | _track_markers_push_back (Marker *mn) |
size_t | _track_markers_size () |
Marker * | new_M (double _edge_length=0, int _res=0, double _margin=0) |
Protected Member Functions inherited from alvar::MarkerDetectorImpl | |
MarkerDetectorImpl () | |
virtual | ~MarkerDetectorImpl () |
Additional Inherited Members | |
Protected Attributes inherited from alvar::MarkerDetectorImpl | |
bool | detect_pose_grayscale |
double | edge_length |
Labeling * | labeling |
std::map< unsigned long, double > | map_edge_length |
double | margin |
int | res |
MarkerDetector for detecting markers of type M
M | Class that extends Marker |
Definition at line 139 of file MarkerDetector.h.
|
inline |
Constructor
Definition at line 166 of file MarkerDetector.h.
|
inline |
Destructor
Definition at line 172 of file MarkerDetector.h.
|
inlineprotectedvirtual |
Implements alvar::MarkerDetectorImpl.
Definition at line 146 of file MarkerDetector.h.
|
inlineprotectedvirtual |
Implements alvar::MarkerDetectorImpl.
Definition at line 147 of file MarkerDetector.h.
|
inlineprotectedvirtual |
Implements alvar::MarkerDetectorImpl.
Definition at line 148 of file MarkerDetector.h.
|
inlineprotectedvirtual |
Implements alvar::MarkerDetectorImpl.
Definition at line 154 of file MarkerDetector.h.
|
inlineprotectedvirtual |
Implements alvar::MarkerDetectorImpl.
Definition at line 152 of file MarkerDetector.h.
|
inlineprotectedvirtual |
Implements alvar::MarkerDetectorImpl.
Definition at line 149 of file MarkerDetector.h.
|
inlineprotectedvirtual |
Implements alvar::MarkerDetectorImpl.
Definition at line 150 of file MarkerDetector.h.
|
inlineprotectedvirtual |
Implements alvar::MarkerDetectorImpl.
Definition at line 151 of file MarkerDetector.h.
|
inlineprotectedvirtual |
Implements alvar::MarkerDetectorImpl.
Definition at line 142 of file MarkerDetector.h.
std::vector<M, Eigen::aligned_allocator<M> >* alvar::MarkerDetector< M >::markers |
Definition at line 162 of file MarkerDetector.h.
std::vector<M, Eigen::aligned_allocator<M> >* alvar::MarkerDetector< M >::track_markers |
Definition at line 163 of file MarkerDetector.h.