You are here: Start » FIL.NET » Invoke.LocateMultipleObjects_Edges2
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_Edges2 ( Fil.Image inImage, Optional<Fil.ShapeRegion> inSearchRegion, Optional<Fil.CoordinateSystem2D> inSearchRegionAlignment, Fil.EdgeModel2 inEdgeModel, int inMinPyramidLevel, Optional<int> inMaxPyramidLevel, float inEdgeThreshold, Fil.EdgePolarityMode inEdgePolarityMode, Fil.EdgeNoiseLevel inEdgeNoiseLevel, bool inIgnoreBoundaryObjects, int inMaxDeformation, float inMinScore, float inMinDistance, List<Fil.Object2D> outObjects, Optional<List<List<Fil.Path>>> outObjectEdges, Optional<int> outPyramidHeight, Optional<Fil.ShapeRegion> outAlignedSearchRegion, Diagnostic<List<Fil.Image>> diagEdgePyramid, Diagnostic<List<Fil.Image>> diagMatchPyramid, Diagnostic<List<List<float>>> diagScores )
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.EdgeModel2 | Model of objects to be searched. | ||
![]() | inMinPyramidLevel | int | <0, 12> | 0 | Defines the lowest pyramid level at which object position is still refined. Default value: 0. |
![]() | inMaxPyramidLevel | Ftl.Optional<int> | <0, 12> | 3 | Defines the total number of reduced resolution levels that can be used to speed up computations. Default value: 3. |
![]() | inEdgeThreshold | float | <0.01f, INF> | 10.0f | Minimum strength of edges used for matching with the model. Default value: 10.0f. |
![]() | inEdgePolarityMode | Fil.EdgePolarityMode | MatchStrictly | Defines how edges with reversed polarity will contribute to the object score. Default value: MatchStrictly. | |
![]() | inEdgeNoiseLevel | Fil.EdgeNoiseLevel | High | Defines how much noise the objects edges have. Default value: High. | |
![]() | inIgnoreBoundaryObjects | bool | False | Flag indicating whether objects crossing image boundary should be ignored or not. Default value: False. | |
![]() | inMaxDeformation | int | <0, INF> | 0 | Maximal distance in pixels between model edge and an edge visible in the input image. Default value: 0. |
![]() | inMinScore | float | <0.0f, 1.0f> | 0.7f | Minimum score of object candidates accepted at each pyramid level. Default value: 0.7f. |
![]() | inMinDistance | float | <0.0f, INF> | 10.0f | Minimum distance between two found objects. Default value: 10.0f. |
![]() | outObjects | System.Collections.Generic.List<Fil.Object2D> | Found objects. | ||
![]() | outObjectEdges | Ftl.Optional<System.Collections.Generic.List<System.Collections.Generic.List<Fil.Path>>> | Model edges of the found objects. | ||
![]() | outPyramidHeight | Ftl.Optional<int> | Highest pyramid level used to speed up computations. | ||
![]() | outAlignedSearchRegion | Ftl.Optional<Fil.ShapeRegion> | Transformed input shape region. | ||
![]() | diagEdgePyramid | Fil.Diagnostic<System.Collections.Generic.List<Fil.Image>> | Image edges used for matching at each pyramid level. | ||
![]() | diagMatchPyramid | Fil.Diagnostic<System.Collections.Generic.List<Fil.Image>> | Candidate object locations found at each pyramid level. | ||
![]() | diagScores | Fil.Diagnostic<System.Collections.Generic.List<System.Collections.Generic.List<float>>> | Scores of the found objects at each pyramid level. |