You are here: Start » AVL.NET » AVS.LocateMultipleObjects_SAD Method
AVS.LocateMultipleObjects_SAD Method
Finds multiple occurrences of a predefined template on an image by analysing the Square Average Difference between pixel values.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void LocateMultipleObjects_SAD ( AvlNet.Image inImage, AvlNet.GrayModel inGrayModel, int inMinPyramidLevel, bool inIgnoreBoundaryObjects, float inMaxDifference, float inMinDistance, IList<AvlNet.Object2D> outObjects )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image on which model occurrences will be searched. | |||
inGrayModel | AvlNet.GrayModel | Model which will be sought. | |||
inMinPyramidLevel | int | <0, 12> | 0 | Defines the highest resolution level. Default value: 0. | |
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<AvlNet.Object2D> | Found objects. |
Function Overrides
- 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>, Int32, ShapeRegion, IList<Image>, IList<Image>, IList<List<Single>>)
- 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>>)