#include <arboundingbox.h>
Inheritance diagram for ARLib::Detection::ARBoundingBox:

Public Member Functions | |
| ARBoundingBox () | |
| Default constructor. | |
| void | Clear () |
| Reset the contents of the bounding box. | |
| void | CalcCorners (int *edgesLeft, int *edgesTop, int *edgesRight, int *edgesBottom) |
| Calculates the four corners from the supplied edges. | |
| void | Calc2DTo2DProjection () |
| Calculates the 2D to 2D projection transformation. | |
| double * | Get2DTo2DProjectionMatrix () |
| Returns the 2D to 2D projection matrix. | |
Public Attributes | |
| double | mat2D2DProj [3][3] |
| The 3x3 matrix that stores the 2D to 2D projection tranformation. | |
| double | fu |
| Camera focal length for u. | |
| double | fv |
| Camera focal length for u. | |
|
|
Calculates the 2D to 2D projection transformation. The calculate 3x3 matrix can be used to calculate x and y coordinates for a quadrialateral by specifying u and v coordinates. The is matrix is commonly used in texture mapping where a square image in transformed to a quadrilateral. |
|
||||||||||||||||||||
|
Calculates the four corners from the supplied edges. The four corners are the potential markers corners within the bounding box region. |
|
|
Returns the 2D to 2D projection matrix. Valid value will only be returned if the Calc2DTo2DProjection function has already been called.
|
1.3.9.1