zplCore.comzplCore.com

ImageComparison

public record ImageComparison

Result of comparing two black/white label images.

Constructors

SignatureDescription
# ImageComparison(double Precision, double Recall, int OnlyA, int OnlyB, int InkA, int InkB)Result of comparing two black/white label images.

Properties

PropertyTypeDescription
InkA { get; init; }int
InkB { get; init; }int
OnlyA { get; init; }int
OnlyB { get; init; }int
Precision { get; init; }double
Recall { get; init; }double
Score { get; }doubleHarmonic mean of precision and recall (1 = identical within tolerance).

Methods

Method SignatureReturnsDescription
# Deconstruct(out double Precision, out double Recall, out int OnlyA, out int OnlyB, out int InkA, out int InkB)void