VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.FormsProcessing.TemplateMatching Namespace / KeyZone Class / CalculateSimilarity(KeyZone) Method
Syntax Requirements SeeAlso
In This Topic
    CalculateSimilarity(KeyZone) Method (KeyZone)
    In This Topic
    Returns the similarity of specified KeyZone and the current key zone.
    Syntax
    'Declaration
    
    Public MustOverride Function CalculateSimilarity( _
    ByVal zone
    The KeyZone to compare with.
    As KeyZone _
    ) As Double
    public abstract double CalculateSimilarity(
    KeyZone zone
    )
    public: abstract double CalculateSimilarity(
    KeyZone* zone
    )
    public:
    abstract 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: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also