CVB++ 14.0
GradeResult1D Class Reference

Object contains the barcode grading results for one dimensional barcodes. More...

#include <cvb/barcode/_detail/grade_result_1d.hpp>

Inherits GradeResultBase.

Public Member Functions

 GradeResult1D (CExports::CVC_BC_INFO &handle)
 Constructor to initialize object from info struct. More...
 
GradeResult1DInfo ResultInfo () const
 1D Code Grading Results. More...
 
double GradeModulation () const
 The element GradeModulation is the modulation grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). More...
 
virtual double GradeSymbolContrast () const override
 The element GradeSymbolContrast is the symbol contrast grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). More...
 
virtual double SymbolContrast () const override
 The element SymbolContrast is the symbol contrast in percent calculated under consideration of all scan reflectance profiles. More...
 
virtual double ReflectanceMin () const override
 The element ReflectanceMin is the minimum reflectance value in percent calculated under consideration of all scan reflectance profiles. More...
 
virtual double ReflectanceMax () const override
 The element ReflectanceMax is the maximum reflectance value in percent calculated under consideration of all scan reflectance profiles. More...
 
double GradeDecodability () const
 The element GradeDecodability is the decodability grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). More...
 
virtual double GradeDecode () const override
 The element GradeDecode is the decode grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). If the barcode can be decoded in one of the scan reflectance profiles, but the quiet zone is not correct, the decode grade of this scan reflectance profile is set to zero. More...
 
double GradeDefects () const
 The element GradeDefects is the defects grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). More...
 
double GradeEdgeContrastMin () const
 The element GradeEdgeContrastMin is the minimum edge contrast grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). More...
 
virtual double GradeOverall () const override
 The element GradeOverall is the overall symbol grade calculated under consideration of the worst grades of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). More...
 
double GradeReflectanceMin () const
 The element GradeReflectanceMin is the minimum reflectance grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). More...
 
double ScanLinesUsed () const
 The element ScanLinesUsed is the number of used scan reflectance profiles. More...
 
double Decodability () const
 The element Decodability is the decodability grade calculated under consideration of all scan reflectance profiles. More...
 
double DecodedScanLines () const
 The element DecodedScanLines is the number of decoded scan reflectance profiles in percent. More...
 
double Defects () const
 The element Defects is the defects value calculated under consideration of all scan reflectance profiles (ern_max/SC overall). More...
 
double EdgeContrastMin () const
 The element EdgeContrastMin is the minimum edge contrast value in percent calculated under consideration of all scan reflectance profiles. More...
 
double GlobalThreshold () const
 The element GlobalThreshold is the global threshold in percent calculated under consideration of all scan reflectance profiles. More...
 
double Modulation () const
 The element Modulation is the modulation (ec_min/SC) value calculated under consideration of all scan reflectance profiles. More...
 
double PrintContrastSignal () const
 The element PrintContrastSignal is the print contrast signal calculated under consideration of all scan reflectance profiles. More...
 

Detailed Description

Object contains the barcode grading results for one dimensional barcodes.

Constructor & Destructor Documentation

◆ GradeResult1D()

GradeResult1D ( CExports::CVC_BC_INFO &  handle)
inline

Constructor to initialize object from info struct.

Exceptions
Anyexception derived from std::exception including CvbException.

Member Function Documentation

◆ Decodability()

double Decodability ( ) const
inline

The element Decodability is the decodability grade calculated under consideration of all scan reflectance profiles.

Returns
The element Decodability is the decodability grade calculated under consideration of all scan reflectance profiles.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ DecodedScanLines()

double DecodedScanLines ( ) const
inline

The element DecodedScanLines is the number of decoded scan reflectance profiles in percent.

Returns
The element DecodedScanLines is the number of decoded scan reflectance profiles in percent.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Defects()

double Defects ( ) const
inline

The element Defects is the defects value calculated under consideration of all scan reflectance profiles (ern_max/SC overall).

Returns
The element Defects is the defects value calculated under consideration of all scan reflectance profiles (ern_max/SC overall).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ EdgeContrastMin()

double EdgeContrastMin ( ) const
inline

The element EdgeContrastMin is the minimum edge contrast value in percent calculated under consideration of all scan reflectance profiles.

Returns
The element EdgeContrastMin is the minimum edge contrast value in percent calculated under consideration of all scan reflectance profiles.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GlobalThreshold()

double GlobalThreshold ( ) const
inline

The element GlobalThreshold is the global threshold in percent calculated under consideration of all scan reflectance profiles.

Returns
The element GlobalThreshold is the global threshold in percent calculated under consideration of all scan reflectance profiles.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeDecodability()

double GradeDecodability ( ) const
inline

The element GradeDecodability is the decodability grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).

Returns
The element GradeDecodability is the decodability grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeDecode()

virtual double GradeDecode ( ) const
inlineoverridevirtual

The element GradeDecode is the decode grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). If the barcode can be decoded in one of the scan reflectance profiles, but the quiet zone is not correct, the decode grade of this scan reflectance profile is set to zero.

Returns
The element GradeDecode is the decode grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A). If the barcode can be decoded in one of the scan reflectance profiles, but the quiet zone is not correct, the decode grade of this scan reflectance profile is set to zero.
Exceptions
Anyexception derived from std::exception including CvbException.

Implements GradeResultBase.

◆ GradeDefects()

double GradeDefects ( ) const
inline

The element GradeDefects is the defects grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).

Returns
The element GradeDefects is the defects grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeEdgeContrastMin()

double GradeEdgeContrastMin ( ) const
inline

The element GradeEdgeContrastMin is the minimum edge contrast grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).

Returns
The element GradeEdgeContrastMin is the minimum edge contrast grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeModulation()

double GradeModulation ( ) const
inline

The element GradeModulation is the modulation grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).

Returns
The element GradeModulation is the modulation grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeOverall()

virtual double GradeOverall ( ) const
inlineoverridevirtual

The element GradeOverall is the overall symbol grade calculated under consideration of the worst grades of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).

Returns
The element GradeOverall is the overall symbol grade calculated under consideration of the worst grades of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).
Exceptions
Anyexception derived from std::exception including CvbException.

Implements GradeResultBase.

◆ GradeReflectanceMin()

double GradeReflectanceMin ( ) const
inline

The element GradeReflectanceMin is the minimum reflectance grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).

Returns
The element GradeReflectanceMin is the minimum reflectance grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeSymbolContrast()

virtual double GradeSymbolContrast ( ) const
inlineoverridevirtual

The element GradeSymbolContrast is the symbol contrast grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).

Returns
The element GradeSymbolContrast is the symbol contrast grade calculated under consideration of all scan reflectance profiles. Possible values are in the range from 0.0 (F) to 4.0 (A).
Exceptions
Anyexception derived from std::exception including CvbException.

Implements GradeResultBase.

◆ Modulation()

double Modulation ( ) const
inline

The element Modulation is the modulation (ec_min/SC) value calculated under consideration of all scan reflectance profiles.

Returns
The element Modulation is the modulation (ec_min/SC) value calculated under consideration of all scan reflectance profiles.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ PrintContrastSignal()

double PrintContrastSignal ( ) const
inline

The element PrintContrastSignal is the print contrast signal calculated under consideration of all scan reflectance profiles.

Returns
The element PrintContrastSignal is the print contrast signal calculated under consideration of all scan reflectance profiles.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ ReflectanceMax()

virtual double ReflectanceMax ( ) const
inlineoverridevirtual

The element ReflectanceMax is the maximum reflectance value in percent calculated under consideration of all scan reflectance profiles.

Returns
The element ReflectanceMax is the maximum reflectance value in percent calculated under consideration of all scan reflectance profiles.
Exceptions
Anyexception derived from std::exception including CvbException.

Implements GradeResultBase.

◆ ReflectanceMin()

virtual double ReflectanceMin ( ) const
inlineoverridevirtual

The element ReflectanceMin is the minimum reflectance value in percent calculated under consideration of all scan reflectance profiles.

Returns
The element ReflectanceMin is the minimum reflectance value in percent calculated under consideration of all scan reflectance profiles.
Exceptions
Anyexception derived from std::exception including CvbException.

Implements GradeResultBase.

◆ ResultInfo()

GradeResult1DInfo ResultInfo ( ) const
inline

1D Code Grading Results.

Returns
1D Code Grading Results.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ ScanLinesUsed()

double ScanLinesUsed ( ) const
inline

The element ScanLinesUsed is the number of used scan reflectance profiles.

Returns
The element ScanLinesUsed is the number of used scan reflectance profiles.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ SymbolContrast()

virtual double SymbolContrast ( ) const
inlineoverridevirtual

The element SymbolContrast is the symbol contrast in percent calculated under consideration of all scan reflectance profiles.

Returns
The element SymbolContrast is the symbol contrast in percent calculated under consideration of all scan reflectance profiles.
Exceptions
Anyexception derived from std::exception including CvbException.

Implements GradeResultBase.