You are here: Start » AVL.NET » AVS.CreateGoldenTemplate_Edges Method
AVS.CreateGoldenTemplate_Edges Method
Creates golden template for application in CompareGoldenTemplate_Edges filter.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CreateGoldenTemplate_Edges ( AvlNet.Image inTemplateImage, AvlNet.Rectangle2D? inTemplateArea, NullableRef<AvlNet.Region> inMask, AvlNet.CoordinateSystem2D? inTemplateAreaAlignment, float inStdDevX, float? inStdDevY, float inEdgeThreshold, float inEdgeHysteresis, AvlNet.EdgeGoldenTemplate outGoldenTemplate, AvlNet.Image diagCroppedImage, AvlNet.Region diagCroppedEdges, AvlNet.Region diagEdges )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inTemplateImage | AvlNet.Image | Template image containing an object with no defects. | |||
inTemplateArea | AvlNet.Rectangle2D? | Desired area to compare. Default value: atl::NIL. | |||
inMask | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to compare. Default value: atl::NIL. | |||
inTemplateAreaAlignment | AvlNet.CoordinateSystem2D? | Alignment of template bounded by inTemplateArea. Default value: atl::NIL. | |||
inStdDevX | float | <0.0f, INF> | 2.0f | Amount of horizontal smoothing used by the edge filter. Default value: 2.0f. | |
inStdDevY | float? | <0.0f, INF> | Amount of vertical smoothing used by the edge filter (Auto = inStdDevX). Default value: atl::NIL. | ||
inEdgeThreshold | float | <0.0f, INF> | 35.0f | Sufficient edge strength; edges of that strength will always be detected on the template image. Default value: 35.0f. | |
inEdgeHysteresis | float | <0.0f, INF> | 15.0f | Value by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 15.0f. | |
outGoldenTemplate | AvlNet.EdgeGoldenTemplate | The output golden template structure. | |||
diagCroppedImage | AvlNet.Image | Cropped image to be analyzed. | |||
diagCroppedEdges | AvlNet.Region | Edges found on the cropped image. | |||
diagEdges | AvlNet.Region | Edges projected onto the input image. |
Function Overrides
- CreateGoldenTemplate_Edges(Image, Single, Single, Single, EdgeGoldenTemplate)
- CreateGoldenTemplate_Edges(Image, Nullable<Rectangle2D>, NullableRef<Region>, Nullable<CoordinateSystem2D>, Single, Nullable<Single>, Single, Single, EdgeGoldenTemplate)