Configuration to access parameters of QrGrading. More...
#include <cvb/barcode/_detail/qr_grading.hpp>
Inherits Grader2DConfigBase.
Public Member Functions | |
| void | SetExpectReducedQuietzone (bool expectReducedQuietzone) |
| With this flag the quiet zone expected may be reduced to one module size (standard are 4 module sizes for QR codes and 2 module sizes for micro QR codes). More... | |
| bool | ExpectReducedQuietzone () const |
| Returns whether the quiet zone expected may be reduced to one module size (standard are 4 module sizes for QR codes and 2 module sizes for micro QR codes). More... | |
| void | SetGradeFormatInformation (bool formatInformation) |
| Activates (true) or deactivates (false) the calculation of the format information grade. More... | |
| bool | GradeFormatInformation () const |
| Returns the calculation of the format information grade. More... | |
| void | SetGradeVersionInformation (bool versionInformation) |
| Activates (true) or deactivates (false) the calculation of the version information grade. More... | |
| bool | GradeVersionInformation () const |
| Returns the calculation of the version information grade. More... | |
Public Member Functions inherited from Grader2DConfigBase | |
| void | SetGradeAngleOfDistortion (bool angleOfDistortion) |
| Activates (true) or deactivates (false) the calculation of the angle of distortion. This value does not enter the calculation of the scan grade value. More... | |
| bool | GradeAngleOfDistortion () const |
| Returns whether it activates/deactives the calculation of the angle of distortion. This value does not enter the calculation of the scan grade value. More... | |
| void | SetGradeAxialNonUniformity (bool axialNonUniformity) |
| Activates (true) or deactivates (false) the calculation of the axial_nonuniformity grade. More... | |
| bool | GradeAxialNonUniformity () const |
| Returns whether it activates (true) or deactivates (false) the calculation of the axial nonuniformity grade. More... | |
| void | SetGradeFixedPatternDamage (bool fixedPatternDamage) |
| Activates (true) or deactivates (false) the calculation of the fixed pattern damage grade. More... | |
| bool | GradeFixedPatternDamage () const |
| Returns whether it activates (true) or deactivates (false) the calculation of the fixed pattern damage grade. More... | |
| void | SetGradeGridNonUniformity (bool gridNonUniformity) |
| Activates (true) or deactivates (false) the calculation of the grid nonuniformity grade. More... | |
| bool | GradeGridNonUniformity () const |
| Returns whether it activates (true) or deactivates (false) the calculation of the grid nonuniformity grade. More... | |
| void | SetGradeReflectanceMargin (bool reflectanceMargin) |
| Activates (true) or deactivates (false) the calculation of the reflectance margin. More... | |
| bool | GradeReflectanceMargin () const |
| Returns whether it activates (true) or deactivates (false) the calculation of the reflectance margin. More... | |
| void | SetGradeUnusedErrorCorrection (bool unusedErrorCorrection) |
| Activates (true) or deactivates (false) the calculation of the unused error correction grade. More... | |
| bool | GradeUnusedErrorCorrection () const |
| Returns whether it activates (true) or deactivates (false) the calculation of the unused error correction grade. More... | |
Public Member Functions inherited from GraderConfigBase | |
| void | SetGradeModulation (bool modulation) |
| Activates (true) or deactivates (false) the calculation of the modulation grade. More... | |
| bool | GradeModulation () const |
| Activates (true) or deactivates (false) the calculation of the modulation grade. More... | |
| void | SetGradeSymbolContrast (bool symbolContrast) |
| Activates (true) or deactivates (false) the calculation of the symbol contrast grade. More... | |
| bool | GradeSymbolContrast () const |
| Activates (true) or deactivates (false) the calculation of the symbol contrast grade. More... | |
| void | SetReflectanceReference (Cvb::ValueRange< int > reflectanceReference) |
| Reflectance Reference Range for contrast calculation. More... | |
| Cvb::ValueRange< int > | ReflectanceReference () const |
| Reflectance Reference Range for contrast calculation. More... | |
Static Public Member Functions | |
| static std::unique_ptr< QrGrading > | FromHandle (const HandleGuard< ReaderConfig > &guard, bool &isActiveOut) |
| Create object from handle. More... | |
Configuration to access parameters of QrGrading.
|
inline |
Returns whether the quiet zone expected may be reduced to one module size (standard are 4 module sizes for QR codes and 2 module sizes for micro QR codes).
| Any | exception derived from std::exception including CvbException. |
|
inlinestatic |
Create object from handle.
| [in] | guard | Handle guard to read the configuration from. |
| [out] | isActiveOut | Returns the active state of the configuration in the handle. |
| Any | exception derived from std::exception including CvbException. |
|
inline |
Returns the calculation of the format information grade.
| Any | exception derived from std::exception including CvbException. |
|
inline |
Returns the calculation of the version information grade.
| Any | exception derived from std::exception including CvbException. |
|
inline |
With this flag the quiet zone expected may be reduced to one module size (standard are 4 module sizes for QR codes and 2 module sizes for micro QR codes).
| [in] | expectReducedQuietzone | Set to true if the quiet zone around the code is less than the usual 4 module sizes (for regular QR) or 2 module sizes (for mini QR). |
| Any | exception derived from std::exception including CvbException. |
|
inline |
Activates (true) or deactivates (false) the calculation of the format information grade.
| [in] | formatInformation | Activates (true) or deactivates (false) the calculation of the format information grade. |
| Any | exception derived from std::exception including CvbException. |
|
inline |
Activates (true) or deactivates (false) the calculation of the version information grade.
| [in] | versionInformation | Activates (true) or deactivates (false) the calculation of the version information grade. |
| Any | exception derived from std::exception including CvbException. |