You are here: Start » AVL.NET » AVS.CreateGoldenTemplate_Intensity Method

AVS.CreateGoldenTemplate_Intensity Method

Creates golden template for application in CompareGoldenTemplate_Intensity filter.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateGoldenTemplate_Intensity
(
	AvlNet.Image inTemplateImage,
	AvlNet.Rectangle2D? inTemplateArea,
	NullableRef<AvlNet.Region> inMask,
	AvlNet.CoordinateSystem2D? inTemplateAreaAlignment,
	float inEdgeThreshold,
	int inEdgeDilation,
	AvlNet.GrayGoldenTemplate outGoldenTemplate
)

Parameters

Name Type Range Default Description
inTemplateImageAvlNet.ImageTemplate image containing an object with no defects.
inTemplateAreaAvlNet.Rectangle2D?Desired area to compare. Default value: atl::NIL.
inMaskAvlNet.NullableRef<AvlNet.Region>Range of pixels to compare. Default value: atl::NIL.
inTemplateAreaAlignmentAvlNet.CoordinateSystem2D?Alignment of template bounded by inTemplateArea. Default value: atl::NIL.
inEdgeThresholdfloat<0.0f, INF>10.0fMinimum strength of edges on the golden image near which comparison is NOT performed. Default value: 10.0f.
inEdgeDilationint<0, 1000000>1Defines for how far from the detected edges comparison is NOT performed. Default value: 1.
outGoldenTemplateAvlNet.GrayGoldenTemplateThe output golden template structure.

Function Overrides

See also