CompareGoldenTemplate2


Compares an image with a multi-image model using an ensemble of image features approach.

Applications:Finding general object defects by analyzing brightness deviations from a template image.

Syntax

C++
C#
Python
 
def CompareGoldenTemplate2(
	inImage: Image,
	inModel: GoldenTemplate2Model,
	outDefects: Region,
	/,
	*,
	inSensitivityA: float = 1.0,
	inSensitivityB: float = 0.95
)
-> None

Parameters

Name Type Range Default Description
Input value inImage Image Input image
Input value inModel GoldenTemplate2Model
Input value inSensitivityA float 0.0 - 1.0 Usually influences small, distinctive defects.
Input value inSensitivityB float 0.0 - 0.95 Usually influences bigger, extensive defects.
Output value outDefects Region