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

AnnotateGridPoints
Header: | FIL.h |
---|---|
Namespace: | fil |
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 fil::AnnotateGridPoints ( const ftl::Array<fil::Point2D>& inPoints, ftl::Optional<float> inMinDistance, ftl::Optional<float> inMaxDistance, const float inAngleTolerance, ftl::Array<fil::AnnotatedPoint2D>& outImageGrid, ftl::Array<fil::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 |