You are here: Start » AVL.NET » Invoke.CreateGoldenTemplate_Edges
Creates golden template for application in CompareGoldenTemplate_Edges filter.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void CreateGoldenTemplate_Edges ( Avl.Image inTemplateImage, Optional<Avl.Rectangle2D> inTemplateArea, Optional<Avl.Region> inMask, Optional<Avl.CoordinateSystem2D> inTemplateAreaAlignment, float inStdDevX, Optional<float> inStdDevY, float inEdgeThreshold, float inEdgeHysteresis, Avl.EdgeGoldenTemplate outGoldenTemplate, Diagnostic<Avl.Image> diagCroppedImage, Diagnostic<Avl.Region> diagCroppedEdges, Diagnostic<Avl.Region> diagEdges )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inTemplateImage | Avl.Image | Template image containing an object with no defects. | ||
![]() | inTemplateArea | Atl.Optional<Avl.Rectangle2D> | Desired area to compare. Default value: atl::NIL. | ||
![]() | inMask | Atl.Optional<Avl.Region> | Range of pixels to compare. Default value: atl::NIL. | ||
![]() | inTemplateAreaAlignment | Atl.Optional<Avl.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 | Atl.Optional<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 | Avl.EdgeGoldenTemplate | The output golden template structure. | ||
![]() | diagCroppedImage | Avl.Diagnostic<Avl.Image> | Cropped image to be analyzed. | ||
![]() | diagCroppedEdges | Avl.Diagnostic<Avl.Region> | Edges found on the cropped image. | ||
![]() | diagEdges | Avl.Diagnostic<Avl.Region> | Edges projected onto the input image. |