You are here: Start » AVL.NET » AVS.LocateMultiplePointPatterns Method

AVS.LocateMultiplePointPatterns Method

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void LocateMultiplePointPatterns
(
	IList<AvlNet.Point2D> inPoints,
	NullableRef<IList<int>> inPointLabels,
	IList<AvlNet.Point2D> inPattern,
	NullableRef<IList<int>> inPatternLabels,
	AvlNet.Rectangle2D? inReferenceFrame,
	bool inAllowRotation,
	float inMinAngle,
	float inMaxAngle,
	bool inAllowScale,
	float inMinScale,
	float inMaxScale,
	float inTilingFactor,
	float inMinInitialScore,
	float inMaxDeviation,
	float inMinScore,
	float inMinDistance,
	bool inDisjointObjectsOnly,
	IList<AvlNet.Rectangle2D> outObjects,
	IList<List<AvlNet.Point2D>> outAlignedPatterns,
	IList<AvlNet.CoordinateSystem2D> outAlignments,
	IList<List<AvlNet.Segment2D>> outPatternSkeletons
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Input points
inPointLabelsAvlNet.NullableRef<System.Collections.Generic.IList<int>>Categories that the input points belong to
inPatternSystem.Collections.Generic.IList<AvlNet.Point2D>Point pattern to be found
inPatternLabelsAvlNet.NullableRef<System.Collections.Generic.IList<int>>Categories that the pattern points belong to
inReferenceFrameAvlNet.Rectangle2D?Exact position of the model object associated with the pattern in the image
inAllowRotationboolTrueFlag indicating whether rotation is allowed as a part of output alignment
inMinAnglefloat-180.0fStart of range of possible rotations
inMaxAnglefloat180.0fEnd of range of possible rotations
inAllowScaleboolFalseFlag indicating whether scale is allowed as a part of output alignment
inMinScalefloat<0.0f, INF>0.8fStart of range of possible scales
inMaxScalefloat<0.0f, INF>1.25fEnd of range of possible scales
inTilingFactorfloat<0.000001f, 1.0f>0.2fDefines relative size of the square tile on the plane during initial detection
inMinInitialScorefloat<0.0f, 1.0f>0.75fThe minimum proportion of points correctly matched during initial detection
inMaxDeviationfloat<0.0f, INF>5.0fMaximal distance between two points considered matched
inMinScorefloat<0.0f, 1.0f>0.75fThe minimum proportion of points correctly matched
inMinDistancefloat<0.0f, INF>10.0fMinimal distance between centers of two found occurrences
inDisjointObjectsOnlyboolFalseFlag indicating whether found occurrences can have common points
outObjectsSystem.Collections.Generic.IList<AvlNet.Rectangle2D>Bounding rectangles of the found pattern occurrences
outAlignedPatternsSystem.Collections.Generic.IList<System.Collections.Generic.List<AvlNet.Point2D>>The aligned input pattern points
outAlignmentsSystem.Collections.Generic.IList<AvlNet.CoordinateSystem2D>The transforms that align the input pattern to the input points
outPatternSkeletonsSystem.Collections.Generic.IList<System.Collections.Generic.List<AvlNet.Segment2D>>The skeletons of the aligned input pattern points

Function Overrides

See also