You are here: Start » FIL.NET » FIS.LocateMultipleObjects_SAD Method
FIS.LocateMultipleObjects_SAD Method
Finds multiple occurrences of a predefined template on an image by analysing the Square Average Difference between pixel values.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void LocateMultipleObjects_SAD ( FilNet.Image inImage, NullableRef<FilNet.ShapeRegion> inSearchRegion, FilNet.CoordinateSystem2D? inSearchRegionAlignment, FilNet.GrayModel inGrayModel, int inMinPyramidLevel, int? inMaxPyramidLevel, bool inIgnoreBoundaryObjects, float inMaxDifference, float inMinDistance, IList<FilNet.Object2D> outObjects, out int outPyramidHeight, FilNet.ShapeRegion outAlignedSearchRegion, IList<FilNet.Image> diagImagePyramid, IList<FilNet.Image> diagMatchPyramid, IList<List<float>> diagScores )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Image on which model occurrences will be searched. | ||
![]() | inSearchRegion | FilNet.NullableRef<FilNet.ShapeRegion> | Possible centers of the object occurrences. Default value: ftl::NIL. | ||
![]() | inSearchRegionAlignment | FilNet.CoordinateSystem2D? | Adjusts the region of interest to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inGrayModel | FilNet.GrayModel | Model which will be sought. | ||
![]() | inMinPyramidLevel | int | <0, 12> | 0 | Defines the highest resolution level. Default value: 0. |
![]() | inMaxPyramidLevel | int? | <0, 12> | 3 | Defines the number of reduced resolution levels that can be used to speed up computations. Default value: 3. |
![]() | inIgnoreBoundaryObjects | bool | False | Flag indicating whether objects crossing image boundary should be ignored or not. Default value: False. | |
![]() | inMaxDifference | float | <0.0f, INF> | 5.0f | Maximum accepted average difference between pixel values. Default value: 5.0f. |
![]() | inMinDistance | float | <0.0f, INF> | 10.0f | Minimum distance between two matches. Default value: 10.0f. |
![]() | outObjects | System.Collections.Generic.IList<FilNet.Object2D> | Found objects. | ||
![]() | outPyramidHeight | int | Highest pyramid level used to speed up computations. | ||
![]() | outAlignedSearchRegion | FilNet.ShapeRegion | Transformed input shape region. | ||
![]() | diagImagePyramid | System.Collections.Generic.IList<FilNet.Image> | Pyramid of iteratively downsampled input image. | ||
![]() | diagMatchPyramid | System.Collections.Generic.IList<FilNet.Image> | Locations found on each pyramid level. | ||
![]() | diagScores | System.Collections.Generic.IList<System.Collections.Generic.List<float>> | Scores of found matches on each pyramid level. |
Function Overrides
- LocateMultipleObjects_SAD(Image, GrayModel, Int32, Boolean, Single, Single, IList<Object2D>)
- LocateMultipleObjects_SAD(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, GrayModel, Int32, Nullable<Int32>, Boolean, Single, Single, IList<Object2D>)
- LocateMultipleObjects_SAD(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, GrayModel, Int32, Nullable<Int32>, Boolean, Single, Single, IList<Object2D>, NullableValue<Int32>, NullableRef<ShapeRegion>)
- LocateMultipleObjects_SAD(Image, NullableRef<ShapeRegion>, Nullable<CoordinateSystem2D>, GrayModel, Int32, Nullable<Int32>, Boolean, Single, Single, IList<Object2D>, NullableValue<Int32>, NullableRef<ShapeRegion>, IList<Image>, IList<Image>, IList<List<Single>>)