|
|
| MarkerArtoolkit (double _edge_length=0, int _res=0, double _margin=0) |
| | Constructor.
|
| |
|
unsigned long | GetId () const |
| | Get ID for recognizing this marker.
|
| |
|
void | SetId (unsigned long _id) |
| |
|
bool | DecodeContent (int *orientation) |
| | DecodeContent should be called after UpdateContent to fill content_type, decode_error and data
|
| |
|
void | SetContent (unsigned long _id) |
| | Updates the marker_content by "encoding" the given parameters.
|
| |
| void | CompareCorners (std::vector< Point< cv::Point2d >> &_marker_corners_img, int *orientation, double *error) |
| | Compares the marker corners with the previous match. More...
|
| |
|
void | CompareContent (std::vector< PointDouble > &_marker_corners_img, cv::Mat &gray, Camera *cam, int *orientation) const |
| | Compares the marker corners with the previous match.
|
| |
|
virtual bool | UpdateContent (std::vector< Point< cv::Point2d >> &_marker_corners_img, cv::Mat &gray, Camera *cam, int frame_no=0) |
| | Updates the marker_content from the image using Homography.
|
| |
|
void | UpdatePose (std::vector< Point< cv::Point2d >> &_marker_corners_img, Camera *cam, int orientation, int frame_no=0, bool update_pose=true) |
| | Updates the markers pose estimation.
|
| |
|
cv::Mat | GetContent () const |
| | Returns the content as a matrix.
|
| |
|
void | SaveMarkerImage (const char *filename, int save_res=0) const |
| | Saves the marker as an image.
|
| |
|
void | ScaleMarkerToImage (cv::Mat &image) const |
| | Draw the marker filling the ROI in the given image.
|
| |
|
void | Visualize (cv::Mat &image, Camera *cam, const cv::Scalar color=CV_RGB(255, 0, 0)) const |
| | Visualize the marker.
|
| |
|
void | SetMarkerSize (double _edge_length=0, int _res=0, double _margin=0) |
| | Method for resizing the marker dimensions
|
| |
|
double | GetMarkerEdgeLength () const |
| | Get edge length (to support different size markers.
|
| |
|
| ~Marker () |
| | Destructor
|
| |
| | Marker (double _edge_length=0, int _res=0, double _margin=0) |
| | Default constructor. More...
|
| |
|
| Marker (const Marker &m) |
| | Copy constructor
|
| |
| int | GetRes () const |
| |
| double | GetMargin () const |
| |
| double | GetError (int errors=(MARGIN_ERROR|DECODE_ERROR)) const |
| | Get marker detection error estimate. More...
|
| |
|
void | SetError (int error_type, double value) |
| | Set the marker error estimate.
|
| |
|
|
int | default_res () |
| |
|
double | default_margin () |
| |
|
void | VisualizeMarkerPose (cv::Mat &image, Camera *cam, double visualize2d_points[12][2], const cv::Scalar color=CV_RGB(255, 0, 0)) const |
| |
|
virtual void | VisualizeMarkerContent (cv::Mat &image, Camera *cam, double datatext_point[2], double content_point[2]) const |
| |
|
virtual void | VisualizeMarkerError (cv::Mat &image, Camera *cam, double errortext_point[2]) const |
| |
|
bool | UpdateContentBasic (std::vector< PointDouble > &_marker_corners_img, cv::Mat &gray, Camera *cam, int frame_no=0) |
| |
MarkerArtoolkit for using matrix markers similar with the ones used in ARToolkit.
Definition at line 242 of file Marker.h.