Back to Aurora Vision Library website
You are here: Start » Function Reference » Computer Vision » Camera Calibration » AnnotateGridPoints
![](../../img/icon/AnnotateGridPoints.png)
AnnotateGridPoints
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Calibration |
Select a subset of the given points that forms a grid and assign 2D indices to them.
Applications: Recognition of a custom regular grid for the purpose of camera calibration.
Syntax
C++
C#
void avl::AnnotateGridPoints ( const atl::Array<avl::Point2D>& inPoints, atl::Optional<float> inMinDistance, atl::Optional<float> inMaxDistance, const float inAngleTolerance, atl::Array<avl::AnnotatedPoint2D>& outImageGrid, atl::Array<avl::Segment2D>& diagValidSubgraph )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | Points to calculate a grid | ||
![]() |
inMinDistance | Optional<float> | 0.0 - ![]() |
NIL | Minimum distance between two rows or two columns in pixels |
![]() |
inMaxDistance | Optional<float> | 0.0 - ![]() |
NIL | Maximum distance between two rows or two columns in pixels |
![]() |
inAngleTolerance | const float | 0.0 - 90.0 | 10.0f | Maximum deviation from right angles in the grid |
![]() |
outImageGrid | Array<AnnotatedPoint2D>& | Detected grid | ||
![]() |
diagValidSubgraph | Array<Segment2D>& | Graph forming a valid grid |