Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » Camera Calibration » AnnotateGridPoints_DeprecatedDeprecated

AnnotateGridPoints_DeprecatedDeprecated
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Calibration |
Select a subset of the given points that forms a grid and assign world plane coordinates to them.
Applications: Recognition of a custom regular grid, other than the standard chessboard, for the purpose of camera calibration.
Syntax
C++
C#
void fil::AnnotateGridPoints_DeprecatedDeprecated ( const ftl::Array<fil::Point2D>& inPoints, const float inScale, ftl::Optional<float> inMinDistance, const float inMaxDistance, const float inAngleTolerance, ftl::Array<fil::Point3D>& outPoints3D, ftl::Array<fil::Point2D>& outSelectedPoints, ftl::Array<fil::Segment2D>& diagValidSubgraph )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | Points to calculate a grid | ||
![]() |
inScale | const float | 0.001 - ![]() |
1.0f | Distance between two rows or two columns of the grid in world units |
![]() |
inMinDistance | Optional<float> | 0.0 - ![]() |
NIL | Minimum distance between two rows or two columns in pixels |
![]() |
inMaxDistance | const float | 0.0 - ![]() |
10.0f | 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 |
![]() |
outPoints3D | Array<Point3D>& | Calculated points in the world units | ||
![]() |
outSelectedPoints | Array<Point2D>& | Which points were selected to calculate the grid | ||
![]() |
diagValidSubgraph | Array<Segment2D>& | Graph forming a valid grid |