You are here: Start » AVL.NET » AVL.LocateSingleObject_NCC(AvlNet.Image, AvlNet.GrayModel, int, int?, bool, float, AvlNet.Object2D?, AvlNet.Image[], AvlNet.Image[], float[])
AVL.LocateSingleObject_NCC(AvlNet.Image, AvlNet.GrayModel, int, int?, bool, float, AvlNet.Object2D?, AvlNet.Image[], AvlNet.Image[], float[])
Finds a single occurrence 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 LocateSingleObject_NCC( AvlNet.Image inImage, AvlNet.GrayModel inGrayModel, int inMinPyramidLevel, int? inMaxPyramidLevel, bool inIgnoreBoundaryObjects, float inMinScore, out AvlNet.Object2D? outObject, out AvlNet.Image[] diagImagePyramid, out AvlNet.Image[] diagMatchPyramid, out float[] diagScores )
Parameters
- inImage
- Type: AvlNet.Image
Image on which object occurrence will be searched - 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 - outObject
- Type: System.Nullable<AvlNet.Object2D>
Found object - 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 object at each pyramid level
