You are here: Start » AVL.NET » Function Reference » Computer Vision » Camera Calibration » AVL.FilterGridPoints

AVL.FilterGridPoints

Select a subset of the given points that forms a grid.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void FilterGridPoints
(
	IList<AvlNet.Point2D> inPoints,
	int? inMaxAttempts,
	int? inMaxOutlierCount,
	float inMinLength,
	float? inMaxLength,
	float inMaxLengthRatio,
	float inAngleRange,
	float inBaseAspectRatioRange,
	float? inBaseAspectRatio,
	float? inBaseShear,
	float? inBaseOrientation,
	IList<AvlNet.Point2D> outPointGrid
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>
inMaxAttemptsint?<1, INF>Maximum number of attempts at finding the grid. Default value: atl::NIL.
inMaxOutlierCountint?<0, INF>Determines how many outlier points can be present to end the search. Default value: atl::NIL.
inMinLengthfloat<0.0f, INF>0.0fMinimum length of a grid segment. Default value: 0.0f.
inMaxLengthfloat?<0.0f, INF>10.0fMaximum length of a grid segment, if set to Auto it will be approximated. Default value: 10.0f.
inMaxLengthRatiofloat<1.0f, 2.0f>1.3fMaximum ratio of two consecutive segments in the grid. Default value: 1.3f.
inAngleRangefloat<0.0f, 45.0f>16.0fMaximum variation of angles between neighbouring grid segments in degrees. Default value: 16.0f.
inBaseAspectRatioRangefloat<0.0f, 1.0f>0.3fMaximum variation of the base aspect ratio (ignores if base aspect ratio is not given). Default value: 0.3f.
inBaseAspectRatiofloat?<0.3f, 1.0f>1.0fA reference aspect ratio of the grid. Default value: 1.0f.
inBaseShearfloat?<0.0f, 60.0f>0.0fA reference shear angle between grid directions that uses inMaxAngleRange as the maximum error range. Default value: 0.0f.
inBaseOrientationfloat?<0.0f, 360.0f>A reference orientation of one of the grids directions. Default value: atl::NIL.
outPointGridSystem.Collections.Generic.IList<AvlNet.Point2D>Detected grid.

Description

This is a simplified version of AnnotateGridPoints_Ransac. See the documentation of that filter for more detail.

Function Overrides

See also