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

Invoke.LocateSingleObject_Elastic

Finds a single occurrence of a predefined template on an image by comparing object edges.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void LocateSingleObject_Elastic
(
	Fil.Image inImage,
	Optional<Fil.ShapeRegion> inSearchRegion,
	Optional<Fil.CoordinateSystem2D> inSearchRegionAlignment,
	Fil.EdgeModel_Elastic inEdgeModel,
	Fil.ElasticMatchingDetectionStrategy inDetectionStrategy,
	float inEdgeThreshold,
	float inMinAspectRatio,
	float inMaxAspectRatio,
	float inMinScore,
	Conditional<Fil.Object2D> outObject,
	Optional<Conditional<List<Fil.Path>>> outObjectEdges
)

Parameters

Name Type Range Default Description
inImageFil.ImageImage on which object occurrences will be searched.
inSearchRegionFtl.Optional<Fil.ShapeRegion>Region of possible object centers. Default value: ftl::NIL.
inSearchRegionAlignmentFtl.Optional<Fil.CoordinateSystem2D>Adjusts the region of interest to the position of the inspected object. Default value: ftl::NIL.
inEdgeModelFil.EdgeModel_ElasticModel of objects to be searched.
inDetectionStrategyFil.ElasticMatchingDetectionStrategyFastSpecifies initial candidates detection mode. Default value: Fast.
inEdgeThresholdfloat<0.01f, INF>10.0fMinimum strength of edges used for matching with the model. Default value: 10.0f.
inMinAspectRatiofloat<0.5f, 2.0f>1.0fMinimum expected aspect ratio of object occurrence being found. Default value: 1.0f.
inMaxAspectRatiofloat<0.5f, 2.0f>1.0fMaximum expected aspect ratio of object occurrence being found. Default value: 1.0f.
inMinScorefloat<0.0f, 1.0f>0.7fMinimum score of an object occurrence. Default value: 0.7f.
outObjectFtl.Conditional<Fil.Object2D>Found object.
outObjectEdgesFtl.Optional<Ftl.Conditional<System.Collections.Generic.List<Fil.Path>>>Model edges of the found object.

See also