You are here: Start » AVL.NET » AVL.CreateGoldenTemplate_Edges(AvlNet.Image, AvlNet.Rectangle2D, float, float, float, AvlNet.EdgeGoldenTemplate)

AVL.CreateGoldenTemplate_Edges(AvlNet.Image, AvlNet.Rectangle2D, float, float, float, AvlNet.EdgeGoldenTemplate)

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

Parameters

inTemplateImage
Type: AvlNet.Image
Template image containing an object with no defects
inTemplateRegion
Type: AvlNet.Rectangle2D
Region of desired area to compare
inStdDevX
Type: System.Single
Amount of horizontal smoothing used by the edge filter
inEdgeThreshold
Type: System.Single
Sufficient edge strength; edges of that strength will always be detected on the template image
inEdgeHysteresis
Type: System.Single
Value by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges
outGoldenTemplate
Type: AvlNet.EdgeGoldenTemplate
The output golden template structure

See also