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 | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Input points | |||
inPointLabels | AvlNet.NullableRef<System.Collections.Generic.IList<int>> | Categories that the input points belong to | |||
inPattern | System.Collections.Generic.IList<AvlNet.Point2D> | Point pattern to be found | |||
inPatternLabels | AvlNet.NullableRef<System.Collections.Generic.IList<int>> | Categories that the pattern points belong to | |||
inReferenceFrame | AvlNet.Rectangle2D? | Exact position of the model object associated with the pattern in the image | |||
inAllowRotation | bool | True | Flag indicating whether rotation is allowed as a part of output alignment | ||
inMinAngle | float | -180.0f | Start of range of possible rotations | ||
inMaxAngle | float | 180.0f | End of range of possible rotations | ||
inAllowScale | bool | False | Flag indicating whether scale is allowed as a part of output alignment | ||
inMinScale | float | <0.0f, INF> | 0.8f | Start of range of possible scales | |
inMaxScale | float | <0.0f, INF> | 1.25f | End of range of possible scales | |
inTilingFactor | float | <0.000001f, 1.0f> | 0.2f | Defines relative size of the square tile on the plane during initial detection | |
inMinInitialScore | float | <0.0f, 1.0f> | 0.75f | The minimum proportion of points correctly matched during initial detection | |
inMaxDeviation | float | <0.0f, INF> | 5.0f | Maximal distance between two points considered matched | |
inMinScore | float | <0.0f, 1.0f> | 0.75f | The minimum proportion of points correctly matched | |
inMinDistance | float | <0.0f, INF> | 10.0f | Minimal distance between centers of two found occurrences | |
inDisjointObjectsOnly | bool | False | Flag indicating whether found occurrences can have common points | ||
outObjects | System.Collections.Generic.IList<AvlNet.Rectangle2D> | Bounding rectangles of the found pattern occurrences | |||
outAlignedPatterns | System.Collections.Generic.IList<System.Collections.Generic.List<AvlNet.Point2D>> | The aligned input pattern points | |||
outAlignments | System.Collections.Generic.IList<AvlNet.CoordinateSystem2D> | The transforms that align the input pattern to the input points | |||
outPatternSkeletons | System.Collections.Generic.IList<System.Collections.Generic.List<AvlNet.Segment2D>> | The skeletons of the aligned input pattern points |