ARMarkerInfo Struct Reference

main structure for detected marker. More...

#include <ar.h>


Data Fields

int area
int id
int dir
double cf
double pos [2]
double line [4][3]
double vertex [4][2]


Detailed Description

main structure for detected marker.

Store information after contour detection (in idea screen coordinate, after distorsion compensated).

Remarks:
lines are represented by 3 values a,b,c for ax+by+c=0
Parameters:
area number of pixels in the labeled region
id marker identitied number
dir Direction that tells about the rotation about the marker (possible values are 0, 1, 2 or 3). This parameter makes it possible to tell about the line order of the detected marker (so which line is the first one) and so find the first vertex. This is important to compute the transformation matrix in arGetTransMat().
cf confidence value (probability to be a marker)
pos center of marker (in ideal screen coordinates)
line line equations for four side of the marker (in ideal screen coordinates)
vertex edge points of the marker (in ideal screen coordinates)


The documentation for this struct was generated from the following file: Generated with Doxygen
Copyright © 2004-2006. HIT Lab NZ. All Rights Reserved.