Back to Aurora Vision Library website

You are here: Start » Function Reference » Computer Vision » Camera Calibration » AnnotateGridPoints_Deprecated

AnnotateGridPoints_Deprecated


Header: AVL.h
Namespace: avl
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 for the purpose of camera calibration.

Syntax

void avl::AnnotateGridPoints_Deprecated
(
	const atl::Array<avl::Point2D>& inPoints,
	const float inScale,
	atl::Optional<float> inMinDistance,
	atl::Optional<float> inMaxDistance,
	const float inAngleTolerance,
	atl::Array<avl::Point2D>& outWorldPlanePoints,
	atl::Array<avl::Point2D>& outSelectedImagePoints,
	atl::Array<avl::Segment2D>& diagValidSubgraph
)

Parameters

Name Type Range Default Description
Input value inPoints const Array<Point2D>& Points to calculate a grid
Input value inScale const float 0.001 - 1.0f Distance between two rows or two columns of the grid in world units
Input value inMinDistance Optional<float> 0.0 - NIL Minimum distance between two rows or two columns in pixels
Input value inMaxDistance Optional<float> 0.0 - NIL Maximum distance between two rows or two columns in pixels
Input value inAngleTolerance const float 0.0 - 90.0 10.0f Maximum deviation from right angles in the grid
Output value outWorldPlanePoints Array<Point2D>& Calculated points in the world units
Output value outSelectedImagePoints Array<Point2D>& Which points were selected to calculate the grid
Diagnostic input diagValidSubgraph Array<Segment2D>& Graph forming a valid grid