You are here: Start » AVL.NET » AVS.CreateEdgeModel1 Method
AVS.CreateEdgeModel1 Method
Creates a model for edge-based template matching.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CreateEdgeModel1 ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inTemplateRegion, AvlNet.Rectangle2D? inReferenceFrame, int inMinPyramidLevel, int? inMaxPyramidLevel, float inSmoothingStdDev, float inEdgeThreshold, float inEdgeHysteresis, float inMinAngle, float inMaxAngle, float inAnglePrecision, float inMinScale, float inMaxScale, float inScalePrecision, float inEdgeCompleteness, INullable<AvlNet.EdgeModel> outEdgeModel, out AvlNet.Point2D? outEdgeModelPoint, INullable<SafeList<AvlNet.Path>> outEdges, INullable<SafeList<AvlNet.Image>> diagEdgePyramid )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image from which model will be extracted. | |||
inTemplateRegion | AvlNet.NullableRef<AvlNet.Region> | Region of the image from which model will be extracted. Default value: atl::NIL. | |||
inReferenceFrame | AvlNet.Rectangle2D? | Exact position of the model object in the image. Default value: atl::NIL. | |||
inMinPyramidLevel | int | <0, 12> | 0 | Defines the index of the lowest reduced resolution level used to speed up computations. Default value: 0. | |
inMaxPyramidLevel | int? | <0, 12> | Defines the number of reduced resolution levels used to speed up computations. Default value: atl::NIL. | ||
inSmoothingStdDev | float | <0.0f, INF> | 0.0f | Standard deviation of the gaussian smoothing applied before edge extraction. Default value: 0.0f. | |
inEdgeThreshold | float | <0.0f, INF> | 35.0f | Higher threshold for edge magnitude. Default value: 35.0f. | |
inEdgeHysteresis | float | <0.0f, INF> | 15.0f | Threshold hysteresis value for edge magnitude. Default value: 15.0f. | |
inMinAngle | float | -180.0f | Start of range of possible rotations. Default value: -180.0f. | ||
inMaxAngle | float | 180.0f | End of range of possible rotations. Default value: 180.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. | |
inEdgeCompleteness | float | <0.01f, 1.0f> | 1.0f | Determines what fraction of the edges will be present in the created model. Default value: 1.0f. | |
outEdgeModel | AvlNet.INullable<AvlNet.EdgeModel> | Created model that can be used by LocateMultipleObjects_Edges. This parameter cannot be null. | |||
outEdgeModelPoint | AvlNet.Point2D? | The middle point of the created model. | |||
outEdges | AvlNet.INullable<AvlNet.SafeList<AvlNet.Path>> | Visualization of the model edges found at the original resolution. This parameter cannot be null. | |||
diagEdgePyramid | AvlNet.INullable<AvlNet.SafeList<AvlNet.Image>> | Visualization of the edges found at different resolution levels. This parameter cannot be null. |
Function Overrides
- CreateEdgeModel1(Image, Int32, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, INullable<EdgeModel>)
- CreateEdgeModel1(Image, NullableRef<Region>, Nullable<Rectangle2D>, Int32, Nullable<Int32>, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, INullable<EdgeModel>)
- CreateEdgeModel1(Image, NullableRef<Region>, Nullable<Rectangle2D>, Int32, Nullable<Int32>, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, INullable<EdgeModel>, NullableRef<NullableValue<Point2D>>, NullableRef<NullableRef<SafeList<Path>>>)
- CreateEdgeModel1(Image, NullableRef<Region>, Nullable<Rectangle2D>, Int32, Nullable<Int32>, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, INullable<EdgeModel>, NullableRef<NullableValue<Point2D>>, NullableRef<NullableRef<SafeList<Path>>>, INullable<SafeList<Image>>)