You are here: Start » AVL.NET » AVS.CreateGrayModel Method
AVS.CreateGrayModel Method
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, AvlNet.GrayModel outGrayModel )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image from which model will be extracted. | |||
inMinPyramidLevel | int | <0, 12> | 0 | Defines the index of the lowest reduced resolution level used to speed up computations. Default value: 0. | |
inMinAngle | float | 0.0f | Start of range of possible rotations. Default value: 0.0f. | ||
inMaxAngle | float | 0.0f | End of range of possible rotations. Default value: 0.0f. | ||
inAnglePrecision | float | <0.001f, 10.0f> | 1.0f | Defines angular resolution of the matching process. Default value: 1.0f. | |
inMinScale | float | <0.0f, INF> | 1.0f | Start of range of possible scales. Default value: 1.0f. | |
inMaxScale | float | <0.0f, INF> | 1.0f | End of range of possible scales. Default value: 1.0f. | |
inScalePrecision | float | <0.001f, 10.0f> | 1.0f | Defines scale resolution of the matching process. Default value: 1.0f. | |
outGrayModel | AvlNet.GrayModel | Created model that can be used by LocateMultipleObjects_NCC and LocateMultipleObjects_SAD filters. |
Function Overrides
- CreateGrayModel(Image, NullableRef<Region>, Nullable<Rectangle2D>, Int32, Nullable<Int32>, Single, Single, Single, Single, Single, Single, GrayModel)
- CreateGrayModel(Image, NullableRef<Region>, Nullable<Rectangle2D>, Int32, Nullable<Int32>, Single, Single, Single, Single, Single, Single, GrayModel, NullableValue<Point2D>)
- CreateGrayModel(Image, NullableRef<Region>, Nullable<Rectangle2D>, Int32, Nullable<Int32>, Single, Single, Single, Single, Single, Single, GrayModel, Point2D, IList<Image>)
- CreateGrayModel(Image, NullableRef<Region>, Nullable<Rectangle2D>, Int32, Nullable<Int32>, Single, Single, Single, Single, Single, Single, GrayModel, NullableValue<Point2D>, IList<Image>)