ARToolKit API Documentation

- Main Page
- Data Structures
- Files

- Data Structures
- Class Hierarchy

# ARMarkerInfo2 Struct Reference

internal structure use for marker detection. More...

`#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]

## Detailed Description

internal structure use for marker detection.

Store information after contour detection (in observed screen coordinate, before distorsion correction).

Parameters:

  | 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.

The documentation for this struct was generated from the following file:

- ar.h

Generated with Doxygen
Copyright © 2004-2007. HIT Lab NZ. All Rights Reserved.