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

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

Finds all occurrences of a predefined template on an image by analysing the normalized correlation between pixel values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void LocateMultipleObjects_NCC(
	AvlNet.Image inImage,
	AvlNet.Region inSearchRegion,
	AvlNet.GrayModel inGrayModel,
	int inMinPyramidLevel,
	int? inMaxPyramidLevel,
	bool inIgnoreBoundaryObjects,
	float inMinScore,
	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
inSearchRegion
Type: AvlNet.Region
Range of possible object centers, or null.
inGrayModel
Type: AvlNet.GrayModel
Model of objects to be searched
inMinPyramidLevel
Type: System.Int32
Defines the lowest pyramid level at which object position is still refined
inMaxPyramidLevel
Type: System.Nullable<System.Int32>
Defines the total 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
inMinScore
Type: System.Single
Minimum score of object candidates accepted at each pyramid level
inMinDistance
Type: System.Single
Minimum distance between two found objects
outObjects
Type: AvlNet.Object2D
Found objects
diagImagePyramid
Type: AvlNet.Image
Pyramid of iteratively downsampled input image
diagMatchPyramid
Type: AvlNet.Image
Candidate object locations found at each pyramid level
diagScores
Type: System.Single
Scores of the found objects at each pyramid level

See also