You are here: Start » FIL.NET » Invoke.LocateMultipleObjects_Elastic
Finds all occurrences of a predefined template on an image by comparing object edges.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void LocateMultipleObjects_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, List<Fil.Object2D> outObjects, List<List<Fil.Path>> outObjectEdges, Optional<Fil.ShapeRegion> outAlignedSearchRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Image on which object occurrences will be searched. | ||
![]() | inSearchRegion | Ftl.Optional<Fil.ShapeRegion> | Region of possible object centers. Default value: ftl::NIL. | ||
![]() | inSearchRegionAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | Adjusts the region of interest to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inEdgeModel | Fil.EdgeModel_Elastic | Model of objects to be searched. | ||
![]() | inDetectionStrategy | Fil.ElasticMatchingDetectionStrategy | Fast | Specifies initial candidates detection mode. Default value: Fast. | |
![]() | inEdgeThreshold | float | <0.1f, INF> | 10.0f | Minimum strength of edges used for matching with the model. Default value: 10.0f. |
![]() | inMinAspectRatio | float | <0.5f, 2.0f> | 1.0f | Minimum expected aspect ratio of object occurrence being found. Default value: 1.0f. |
![]() | inMaxAspectRatio | float | <0.5f, 2.0f> | 1.0f | Maximum expected aspect ratio of object occurrence being found. Default value: 1.0f. |
![]() | inMinScore | float | <0.0f, 1.0f> | 0.7f | Minimum score of an object occurrence. Default value: 0.7f. |
![]() | outObjects | System.Collections.Generic.List<Fil.Object2D> | Found objects. | ||
![]() | outObjectEdges | System.Collections.Generic.List<System.Collections.Generic.List<Fil.Path>> | Model edges of the found objects. | ||
![]() | outAlignedSearchRegion | Ftl.Optional<Fil.ShapeRegion> | Transformed input shape region. |