You are here: Start » AVL.NET » AVL.CreateGrayModel(AvlNet.Image, int, float, float, float, float, float, float, AvlNet.GrayModel)

AVL.CreateGrayModel(AvlNet.Image, int, float, float, float, float, float, float, AvlNet.GrayModel)

Creates a model for NCC or SAD template matching.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateGrayModel(
	AvlNet.Image inImage,
	int inMinPyramidLevel,
	float inMinAngle,
	float inMaxAngle,
	float inAnglePrecision,
	float inMinScale,
	float inMaxScale,
	float inScalePrecision,
	out AvlNet.GrayModel outGrayModel
)

Parameters

inImage
Type: AvlNet.Image
Image from which model will be extracted
inMinPyramidLevel
Type: System.Int32
Defines the index of the lowest reduced resolution level used to speed up computations
inMinAngle
Type: System.Single
Start of range of possible rotations
inMaxAngle
Type: System.Single
End of range of possible rotations
inAnglePrecision
Type: System.Single
Defines angular resolution of the matching process
inMinScale
Type: System.Single
Start of range of possible scales
inMaxScale
Type: System.Single
End of range of possible scales
inScalePrecision
Type: System.Single
Defines scale resolution of the matching process
outGrayModel
Type: AvlNet.GrayModel
Created model that can be used by LocateMultipleObjects_NCC and LocateMultipleObjects_SAD filters

See also