You are here: Start » FIL.NET » FIS.CreateGoldenTemplate_Edges Method

FIS.CreateGoldenTemplate_Edges Method

Creates golden template for application in CompareGoldenTemplate_Edges filter.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void CreateGoldenTemplate_Edges
(
	FilNet.Image inTemplateImage,
	FilNet.Rectangle2D? inTemplateArea,
	NullableRef<FilNet.Region> inMask,
	FilNet.CoordinateSystem2D? inTemplateAreaAlignment,
	float inStdDevX,
	float? inStdDevY,
	float inEdgeThreshold,
	float inEdgeHysteresis,
	FilNet.EdgeGoldenTemplate outGoldenTemplate
)

Parameters

Name Type Range Default Description
inTemplateImageFilNet.ImageTemplate image containing an object with no defects.
inTemplateAreaFilNet.Rectangle2D?Desired area to compare. Default value: ftl::NIL.
inMaskFilNet.NullableRef<FilNet.Region>Range of pixels to compare. Default value: ftl::NIL.
inTemplateAreaAlignmentFilNet.CoordinateSystem2D?Alignment of template bounded by inTemplateArea. Default value: ftl::NIL.
inStdDevXfloat<0.0f, INF>2.0fAmount of horizontal smoothing used by the edge filter. Default value: 2.0f.
inStdDevYfloat?<0.0f, INF>Amount of vertical smoothing used by the edge filter (Auto = inStdDevX). Default value: ftl::NIL.
inEdgeThresholdfloat<0.0f, INF>35.0fSufficient edge strength; edges of that strength will always be detected on the template image. Default value: 35.0f.
inEdgeHysteresisfloat<0.0f, INF>15.0fValue by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 15.0f.
outGoldenTemplateFilNet.EdgeGoldenTemplateThe output golden template structure.

Function Overrides

See also