CVB++ 14.0
GradeResultQr Class Reference

Object contains the barcode grading results for QR barcodes. More...

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

Inherits GradeResult2DBase.

Public Member Functions

 GradeResultQr (CExports::CVC_BC_INFO &handle)
 Constructor to initialize object from info struct. More...
 
double GradeModulation () const
 This property contains the modulation grade (ranging from 0 to 4). More...
 
double GradeGridNonUniformity () const
 This property contains the grade of the grid nonuniformity (ranging from 0 to 4). More...
 
double GradeFixedPatternDamage () const
 This property contains the fixed pattern damage grade (ranging from 0 to 4). More...
 
int SubGradeA1 () const
 This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based. More...
 
int SubGradeA2 () const
 This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based. More...
 
int SubGradeA3 () const
 This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based. More...
 
int SubGradeB1 () const
 This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based. More...
 
int SubGradeB2 () const
 This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based. More...
 
int SubGradeC () const
 This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based. More...
 
int GradeFormatInformation () const
 This property contains the format information grade (ranging from 0 to 4). More...
 
int GradeVersionInformation () const
 This property contains the version information grade (ranging from 0 to 4). More...
 
bool CodeOutsideAoi () const
 This flag will be set, if parts of the code are outside the area of interest, while calculating the QR grading results. More...
 
bool QuietzoneOutsideAoi () const
 Returns the flag which tells, if parts of the code's quiet zone are outside the area of interest, while calculating the QR grading results. More...
 
int GlobalThreshold () const
 Global threshold found during grading. More...
 
- Public Member Functions inherited from GradeResult2DBase
virtual double GradeSymbolContrast () const
 Symbol Contrast Grade (0...4). More...
 
virtual double SymbolContrast () const override
 Measured Symbol Contrast in % of the scan reflectance limits. More...
 
virtual double ReflectanceMin () const override
 Minimum contrast found during grading. More...
 
virtual double ReflectanceMax () const override
 Maximum contrast found during grading. More...
 
virtual Cvb::Angle Distortion () const
 Angle of distortion. More...
 
virtual double AxialNonUniformity () const
 Axial non-uniformity factor. More...
 
virtual double GridNonUniformity () const
 Grid non-uniformity factor. More...
 
virtual double GradeAxialNonUniformity () const
 Grade of the axial non-uniformity (0...4). More...
 
virtual double GradeDecode () const override
 4 if decoding succeeded, 0 if it failed. More...
 
virtual double GradeUnusedErrorCorrection () const
 Grade of the amount of unused error correction information. More...
 
virtual double GradeOverall () const override
 Overall grading result. More...
 

Detailed Description

Object contains the barcode grading results for QR barcodes.

Constructor & Destructor Documentation

◆ GradeResultQr()

GradeResultQr ( CExports::CVC_BC_INFO &  handle)
inline

Constructor to initialize object from info struct.

Exceptions
Anyexception derived from std::exception including CvbException.

Member Function Documentation

◆ CodeOutsideAoi()

bool CodeOutsideAoi ( ) const
inline

This flag will be set, if parts of the code are outside the area of interest, while calculating the QR grading results.

Returns
This flag will be set, if parts of the code are outside the area of interest, while calculating the QR grading results.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GlobalThreshold()

int GlobalThreshold ( ) const
inline

Global threshold found during grading.

Returns
Global threshold found during grading.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeFixedPatternDamage()

double GradeFixedPatternDamage ( ) const
inline

This property contains the fixed pattern damage grade (ranging from 0 to 4).

Returns
This property contains the fixed pattern damage grade (ranging from 0 to 4).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeFormatInformation()

int GradeFormatInformation ( ) const
inline

This property contains the format information grade (ranging from 0 to 4).

Returns
This property contains the format information grade (ranging from 0 to 4).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeGridNonUniformity()

double GradeGridNonUniformity ( ) const
inline

This property contains the grade of the grid nonuniformity (ranging from 0 to 4).

Returns
This property contains the grade of the grid nonuniformity (ranging from 0 to 4).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeModulation()

double GradeModulation ( ) const
inline

This property contains the modulation grade (ranging from 0 to 4).

Returns
This property contains the modulation grade (ranging from 0 to 4).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeVersionInformation()

int GradeVersionInformation ( ) const
inline

This property contains the version information grade (ranging from 0 to 4).

Returns
This property contains the version information grade (ranging from 0 to 4).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ QuietzoneOutsideAoi()

bool QuietzoneOutsideAoi ( ) const
inline

Returns the flag which tells, if parts of the code's quiet zone are outside the area of interest, while calculating the QR grading results.

Returns
The return value tells, if parts of the code's quiet zone are outside the area of interest, while calculating the QR grading results.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ SubGradeA1()

int SubGradeA1 ( ) const
inline

This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.

Returns
This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ SubGradeA2()

int SubGradeA2 ( ) const
inline

This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.

Returns
This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ SubGradeA3()

int SubGradeA3 ( ) const
inline

This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.

Returns
This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ SubGradeB1()

int SubGradeB1 ( ) const
inline

This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.

Returns
This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ SubGradeB2()

int SubGradeB2 ( ) const
inline

This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.

Returns
This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ SubGradeC()

int SubGradeC ( ) const
inline

This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.

Returns
This is one of the sub grades on which the calculation of the GradeFixedPatternDamage() is based.
Exceptions
Anyexception derived from std::exception including CvbException.