CVB++ 14.0
GraderConfigBase Class Referenceabstract

Configuration to access parameters of GraderConfigBase. More...

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

Inherits ConfigBase.

Inherited by BarcodeGrading, and Grader2DConfigBase.

Public Member Functions

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...
 

Detailed Description

Configuration to access parameters of GraderConfigBase.

Member Function Documentation

◆ GradeModulation()

bool GradeModulation ( ) const
inline

Activates (true) or deactivates (false) the calculation of the modulation grade.

Returns
Activates (true) or deactivates (false) the calculation of the modulation grade.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetGradeModulation

◆ GradeSymbolContrast()

bool GradeSymbolContrast ( ) const
inline

Activates (true) or deactivates (false) the calculation of the symbol contrast grade.

Returns
Activates (true) or deactivates (false) the calculation of the symbol contrast grade.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetGradeSymbolContrast

◆ ReflectanceReference()

Cvb::ValueRange< int > ReflectanceReference ( ) const
inline

Reflectance Reference Range for contrast calculation.

Returns
Reference value for the calculation of the symbol contrast (value range: [0,255]).
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetReflectanceReference

◆ SetGradeModulation()

void SetGradeModulation ( bool  modulation)
inline

Activates (true) or deactivates (false) the calculation of the modulation grade.

Parameters
[in]modulationActivates (true) or deactivates (false) the calculation of the modulation grade.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
GradeModulation

◆ SetGradeSymbolContrast()

void SetGradeSymbolContrast ( bool  symbolContrast)
inline

Activates (true) or deactivates (false) the calculation of the symbol contrast grade.

Parameters
[in]symbolContrastActivates (true) or deactivates (false) the calculation of the symbol contrast grade.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
GradeSymbolContrast

◆ SetReflectanceReference()

void SetReflectanceReference ( Cvb::ValueRange< int >  reflectanceReference)
inline

Reflectance Reference Range for contrast calculation.

Parameters
[in]reflectanceReferenceReference value for the calculation of the symbol contrast (value range: [0,255]).
Exceptions
Anyexception derived from std::exception including CvbException.
See also
ReflectanceReference