You are here: Start » FIL.NET » Invoke.CreateGoldenTemplate_Edges
Creates golden template for application in CompareGoldenTemplate_Edges filter.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void CreateGoldenTemplate_Edges ( Fil.Image inTemplateImage, Optional<Fil.Rectangle2D> inTemplateArea, Optional<Fil.Region> inMask, Optional<Fil.CoordinateSystem2D> inTemplateAreaAlignment, float inStdDevX, Optional<float> inStdDevY, float inEdgeThreshold, float inEdgeHysteresis, Fil.EdgeGoldenTemplate outGoldenTemplate, Diagnostic<Fil.Image> diagCroppedImage, Diagnostic<Fil.Region> diagCroppedEdges, Diagnostic<Fil.Region> diagEdges )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inTemplateImage | Fil.Image | Template image containing an object with no defects. | ||
![]() | inTemplateArea | Ftl.Optional<Fil.Rectangle2D> | Desired area to compare. Default value: ftl::NIL. | ||
![]() | inMask | Ftl.Optional<Fil.Region> | Range of pixels to compare. Default value: ftl::NIL. | ||
![]() | inTemplateAreaAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | Alignment of template bounded by inTemplateArea. Default value: ftl::NIL. | ||
![]() | inStdDevX | float | <0.0f, INF> | 2.0f | Amount of horizontal smoothing used by the edge filter. Default value: 2.0f. |
![]() | inStdDevY | Ftl.Optional<float> | <0.0f, INF> | Amount of vertical smoothing used by the edge filter (Auto = inStdDevX). Default value: ftl::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 | Fil.EdgeGoldenTemplate | The output golden template structure. | ||
![]() | diagCroppedImage | Fil.Diagnostic<Fil.Image> | Cropped image to be analyzed. | ||
![]() | diagCroppedEdges | Fil.Diagnostic<Fil.Region> | Edges found on the cropped image. | ||
![]() | diagEdges | Fil.Diagnostic<Fil.Region> | Edges projected onto the input image. |