VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.FormsProcessing.TemplateMatching Namespace / KeyLineZone Class / CalculateSimilarity(KeyZone) Method
Syntax Requirements SeeAlso
In This Topic
CalculateSimilarity(KeyZone) Method (KeyLineZone)
In This Topic
Returns the similarity of specified KeyZone and the current key zone.
Syntax
'Declaration

Public Overrides Function CalculateSimilarity( _
ByVal zone
The KeyZone to compare with.
As KeyZone _
) As Double
public override double CalculateSimilarity(
KeyZone zone
)

Parameters

zone
The KeyZone to compare with.

Return Value

The similarity of specified keyzone and the current key zone in range from 0 to 1.
0 means that zones are absolutely NOT similar; 1 means that zones are perfectly similar.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also