Configuration to access parameters of barcode grading. More...
#include <cvb/barcode/_detail/barcode_grading.hpp>
Inherits GraderConfigBase.
Public Member Functions | |
void | SetGradeDecode (bool decode) |
Specifies whether or not the grade decodes will enter the calculation of GradeResult1D::GradeOverall. More... | |
bool | GradeDecode () const |
Returns whether or not the grade decodes will enter the calculation of GradeResult1D::GradeOverall. More... | |
void | SetGradeReflectanceMin (bool reflectanceMin) |
Specifies whether or not the grade GradeResult1D::ReflectanceMin will enter the calculation of GradeResult1D::GradeOverall. More... | |
bool | GradeReflectanceMin () const |
Returns whether or not the grade GradeResult1D::ReflectanceMin will enter the calculation of GradeResult1D::GradeOverall. More... | |
void | SetGradeEdgeContrastMin (bool edgeContrastMin) |
Specifies whether or not the grade GradeResult1D::EdgeContrastMin will enter the calculation of GradeResult1D::GradeOverall. More... | |
bool | GradeEdgeContrastMin () const |
Returns whether or not the grade GradeResult1D::EdgeContrastMin will enter the calculation of GradeResult1D::GradeOverall. More... | |
void | SetGradeDefects (bool defects) |
Specifies whether or not the grade GradeResult1D::Defects will enter the calculation of GradeResult1D::GradeOverall. More... | |
bool | GradeDefects () const |
Returns whether or not the grade GradeResult1D::Defects will enter the calculation of GradeResult1D::GradeOverall. More... | |
void | SetGradeDecodability (bool decodability) |
Specifies whether or not the grade GradeResult1D::Decodability will enter the calculation of GradeResult1D::GradeOverall. More... | |
bool | GradeDecodability () const |
Returns whether or not the grade GradeResult1D::Decodability will enter the calculation of GradeResult1D::GradeOverall. 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< BarcodeGrading > | FromHandle (const HandleGuard< ReaderConfig > &guard, bool &isActiveOut) |
Create object from handle. More... | |
Configuration to access parameters of barcode grading.
|
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 whether or not the grade GradeResult1D::Decodability will enter the calculation of GradeResult1D::GradeOverall.
Any | exception derived from std::exception including CvbException. |
|
inline |
Returns whether or not the grade decodes will enter the calculation of GradeResult1D::GradeOverall.
Any | exception derived from std::exception including CvbException. |
|
inline |
Returns whether or not the grade GradeResult1D::Defects will enter the calculation of GradeResult1D::GradeOverall.
Any | exception derived from std::exception including CvbException. |
|
inline |
Returns whether or not the grade GradeResult1D::EdgeContrastMin will enter the calculation of GradeResult1D::GradeOverall.
Any | exception derived from std::exception including CvbException. |
|
inline |
Returns whether or not the grade GradeResult1D::ReflectanceMin will enter the calculation of GradeResult1D::GradeOverall.
Any | exception derived from std::exception including CvbException. |
|
inline |
Specifies whether or not the grade GradeResult1D::Decodability will enter the calculation of GradeResult1D::GradeOverall.
[in] | decodability | Flag specifying whether or not the grade GradeResult1D::Decodability will enter the calculation of GradeResult1D::GradeOverall. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Specifies whether or not the grade decodes will enter the calculation of GradeResult1D::GradeOverall.
[in] | decode | Flag specifying whether or not the grade decodes will enter the calculation of GradeResult1D::GradeOverall. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Specifies whether or not the grade GradeResult1D::Defects will enter the calculation of GradeResult1D::GradeOverall.
[in] | defects | Flag specifying whether or not the grade GradeResult1D::Defects will enter the calculation of GradeResult1D::GradeOverall. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Specifies whether or not the grade GradeResult1D::EdgeContrastMin will enter the calculation of GradeResult1D::GradeOverall.
[in] | edgeContrastMin | Flag specifying whether or not the grade GradeResult1D::EdgeContrastMin will enter the calculation of GradeResult1D::GradeOverall. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Specifies whether or not the grade GradeResult1D::ReflectanceMin will enter the calculation of GradeResult1D::GradeOverall.
[in] | reflectanceMin | Flag specifying whether or not the grade GradeResult1D::ReflectanceMin will enter the calculation of GradeResult1D::GradeOverall. |
Any | exception derived from std::exception including CvbException. |