You are here: Start » AVL.NET » AVS.LocateSingleObject_SAD Method

AVS.LocateSingleObject_SAD Method

Finds a single occurrence 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 LocateSingleObject_SAD
(
	AvlNet.Image inImage,
	AvlNet.GrayModel inGrayModel,
	int inMinPyramidLevel,
	bool inIgnoreBoundaryObjects,
	float inMaxDifference,
	INullable<AvlNet.Object2D> outObject
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage on which model occurrence will be searched.
inGrayModelAvlNet.GrayModelModel which will be sought.
inMinPyramidLevelint<0, 12>0Defines the highest resolution level. Default value: 0.
inIgnoreBoundaryObjectsboolFalseFlag indicating whether objects crossing image boundary should be ignored or not. Default value: False.
inMaxDifferencefloat<0.0f, INF>0.0fMaximum accepted average difference between pixel values. Default value: 0.0f.
outObjectAvlNet.INullable<AvlNet.Object2D>Found object. This parameter cannot be null.

Function Overrides

See also