3#include "config_base.hpp"
4#include "../../value_range.hpp"
12 using namespace Internal;
32 modulation_ = modulation;
55 symbolContrast_ = symbolContrast;
66 return symbolContrast_;
78 if (reflectanceReference_ != reflectanceReference)
80 reflectanceReference_ = reflectanceReference;
91 return reflectanceReference_;
95 SmartBool modulation_;
96 SmartBool symbolContrast_;
100 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard) = 0;
101 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard) = 0;
113 using GraderConfigBase = Config::GraderConfigBase;
Configuration to access parameters of GraderConfigBase.
Definition: grader_config_base.hpp:20
void SetReflectanceReference(Cvb::ValueRange< int > reflectanceReference)
Reflectance Reference Range for contrast calculation.
Definition: grader_config_base.hpp:76
void SetGradeSymbolContrast(bool symbolContrast)
Activates (true) or deactivates (false) the calculation of the symbol contrast grade.
Definition: grader_config_base.hpp:52
bool GradeSymbolContrast() const
Activates (true) or deactivates (false) the calculation of the symbol contrast grade.
Definition: grader_config_base.hpp:64
Cvb::ValueRange< int > ReflectanceReference() const
Reflectance Reference Range for contrast calculation.
Definition: grader_config_base.hpp:89
void SetGradeModulation(bool modulation)
Activates (true) or deactivates (false) the calculation of the modulation grade.
Definition: grader_config_base.hpp:29
bool GradeModulation() const
Activates (true) or deactivates (false) the calculation of the modulation grade.
Definition: grader_config_base.hpp:41
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24