#include <ar.h>
Data Fields | |
| int | area |
| double | pos [2] |
| int | coord_num |
| int | x_coord [AR_CHAIN_MAX] |
| int | y_coord [AR_CHAIN_MAX] |
| int | vertex [5] |
Store information after contour detection (in observed screen coordinate, before distorsion correction).
| area | number of pixels in the labeled region | |
| pos | position of the center of the marker (in observed screen coordinates) | |
| coord_num | numer of pixels in the contour. | |
| x_coord | x coordinate of the pixels of contours (size limited by AR_CHAIN_MAX). | |
| y_coord | y coordinate of the pixels of contours (size limited by AR_CHAIN_MAX). | |
| vertex | position of the vertices of the marker. (in observed screen coordinates) rem:the first vertex is stored again as the 5th entry in the array – for convenience of drawing a line-strip easier. |