Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Computer Vision » Template Matching » LocateSingleObject_SAD_Deprecated

LocateSingleObject_SAD_Deprecated


Module: MatchingBasic

Finds a single occurrence of a predefined template on an image by analysing the Square Average Difference between pixel values.

Applications

Almost always inferior to NCC, so rarely used in real applications.
Name Type Range Description
Input value inImage Image Image on which model occurrence will be searched
Input value inSearchRegion Region* Possible centers of the object occurrence
Input value inGrayModel GrayModel Model which will be sought
Input value inMinPyramidLevel Integer 0 - 12 Defines the highest resolution level
Input value inMaxPyramidLevel Integer* 0 - 12 Defines the number of reduced resolution levels that can be used to speed up computations
Input value inIgnoreBoundaryObjects Bool Flag indicating whether objects crossing image boundary should be ignored or not
Input value inMaxDifference Real 0.0 - Maximum accepted average difference between pixel values
Output value outObject Object2D? Found object
Output value outPyramidHeight Integer Highest pyramid level used to speed up computations
Diagnostic input diagImagePyramid ImageArray Pyramid of iteratively downsampled input image
Diagnostic input diagMatchPyramid ImageArray Locations found on each pyramid level
Diagnostic input diagScores RealArray? Scores of found match on each pyramid level

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Complexity Level

This filter is available on Expert Complexity Level.