TcVnCodeGrades1D

Describes code quality grades for 1D barcodes according to ISO / IEC 15416:2016. The grades range from 0 (very bad) to 4 (very good) and are averaged over several scan lines.

Syntax

Definition:

TYPE TcVnCodeGrades1D :
STRUCT
    fDecode          : REAL;
    fSymbolContrast  : REAL;
    fMinReflectance  : REAL;
    fMinEdgeContrast : REAL;
    fModulation      : REAL;
    fDefects         : REAL;
    fDecodability    : REAL;
    fOverall         : REAL;
END_STRUCT
END_TYPE

Parameters

Name

Type

Description

fDecode

REAL

Decode grade

fSymbolContrast

REAL

Symbol contrast grade

fMinReflectance

REAL

Minimum reflectance grade

fMinEdgeContrast

REAL

Minimum edge contrast grade

fModulation

REAL

Modulation grade

fDefects

REAL

Defects grade

fDecodability

REAL

Decodability grade

fOverall

REAL

Overall code grade, i.e. the minimum achieved individual grade averaged over all scan lines. If different scan lines lead to different decoded data, the overall grade is 0.