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:

struct TcVnCodeGrades1D
{
    float fDecode;
    float fSymbolContrast;
    float fMinReflectance;
    float fMinEdgeContrast;
    float fModulation;
    float fDefects;
    float fDecodability;
    float fOverall;
};

Parameters

Name

Type

Description

fDecode

float

Decode grade

fSymbolContrast

float

Symbol contrast grade

fMinReflectance

float

Minimum reflectance grade

fMinEdgeContrast

float

Minimum edge contrast grade

fModulation

float

Modulation grade

fDefects

float

Defects grade

fDecodability

float

Decodability grade

fOverall

float

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.