You are here: Start » AVL.NET » AVL.LocateMultipleObjects_SAD(AvlNet.Image, AvlNet.GrayModel, int, int?, bool, float, float, AvlNet.Object2D[], AvlNet.Image[], AvlNet.Image[], float[][])

AVL.LocateMultipleObjects_SAD(AvlNet.Image, AvlNet.GrayModel, int, int?, bool, float, float, AvlNet.Object2D[], AvlNet.Image[], AvlNet.Image[], float[][])

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,
	int? inMaxPyramidLevel,
	bool inIgnoreBoundaryObjects,
	float inMaxDifference,
	float inMinDistance,
	out AvlNet.Object2D[] outObjects,
	out AvlNet.Image[] diagImagePyramid,
	out AvlNet.Image[] diagMatchPyramid,
	out float[][] diagScores
)

Parameters

inImage
Type: AvlNet.Image
Image on which model occurrences will be searched
inGrayModel
Type: AvlNet.GrayModel
Model which will be sought
inMinPyramidLevel
Type: System.Int32
Defines the highest resolution level
inMaxPyramidLevel
Type: System.Nullable<System.Int32>
Defines the number of reduced resolution levels that can be used to speed up computations, or null.
inIgnoreBoundaryObjects
Type: System.Boolean
Flag indicating whether objects crossing image boundary should be ignored or not
inMaxDifference
Type: System.Single
Maximum accepted average difference between pixel values
inMinDistance
Type: System.Single
Minimum distance between two matches
outObjects
Type: AvlNet.Object2D
Found objects
diagImagePyramid
Type: AvlNet.Image
Pyramid of iteratively downsampled input image
diagMatchPyramid
Type: AvlNet.Image
Locations found on each pyramid level
diagScores
Type: System.Single
Scores of found matches on each pyramid level

See also