Back to Adaptive Vision Library website
You are here: Start » Function Reference » Camera Calibration » AnnotateGridPoints_Deprecated
AnnotateGridPoints_Deprecated
Select a subset of the given points that forms a grid and assign world plane coordinates to them.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::AnnotateGridPoints_Deprecated ( const atl::Array<avl::Point2D>& inPoints, float inScale, atl::Array<avl::Point3D>& outPoints3D, atl::Array<avl::Point2D>& outSelectedPoints, atl::Array<avl::Point2D>& diagAxes )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | const Array<Point2D>& | Points to calculate a grid. | |||
inScale | float | 0.001 - | 1.0f | Distance between two rows or two columns of the grid in world units. | |
outPoints3D | Array<Point3D>& | Calculated points in the world units. | |||
outSelectedPoints | Array<Point2D>& | Which points were selected to calculate the grid | |||
diagAxes | Array<Point2D>& | Points which lays on X and Y axis. |
Errors
Error type | Description |
---|---|
DomainError | Not enough input points in AnnotateGridPoints At least 5 points are needed to calculate a grid. |