You are here: Start » FIL.NET » Invoke.LocateMultiplePointPatterns

Invoke.LocateMultiplePointPatterns

Finds occurrences of a pattern in a 2D cloud of (feature) points.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void LocateMultiplePointPatterns
(
	List<Fil.Point2D> inPoints,
	Optional<List<int>> inPointLabels,
	List<Fil.Point2D> inPattern,
	Optional<List<int>> inPatternLabels,
	Optional<Fil.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,
	List<Fil.Rectangle2D> outObjects,
	List<List<Fil.Point2D>> outAlignedPatterns,
	List<Fil.CoordinateSystem2D> outAlignments,
	List<List<Fil.Segment2D>> outPatternSkeletons
)

Parameters

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

See also