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,
	float inStdDevX,
	float inEdgeThreshold,
	float inEdgeHysteresis,
	AvlNet.EdgeGoldenTemplate outGoldenTemplate
)

Parameters

Name Type Range Default Description
inTemplateImageAvlNet.ImageTemplate image containing an object with no defects.
inStdDevXfloat<0.0f, INF>2.0fAmount of horizontal smoothing used by the edge filter. Default value: 2.0f.
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.
outGoldenTemplateAvlNet.EdgeGoldenTemplateThe output golden template structure.

Function Overrides

See also