Configuration to access parameters of ReaderFourStateConfigBase.
More...
#include <cvb/barcode/_detail/reader_four_state_config_base.hpp>
Inherits ReaderConfigBase.
Inherited by FourStateAustralian, FourStateKix, FourStateRoyalMail, and FourStateUsps.
|
void | SetMirrored (bool mirrored) |
| Sets whether the code is mirrored/not mirrored. More...
|
|
bool | Mirrored () const |
| Returns whether the code is mirrored/not mirrored. More...
|
|
void | SetQuietzoneWidth (int quietzoneWidth) |
| Sets the quiet zone in module width. More...
|
|
int | QuietzoneWidth () const |
| Returns the quiet zone in module width. More...
|
|
void | SetThreshold (int threshold) |
| Sets the digitalisation threshold in percent, ranging from 0 to 100. More...
|
|
int | Threshold () const |
| Returns the digitalisation threshold in percent, ranging from 0 to 100. More...
|
|
void | SetInverse (bool inverse) |
| Code is inverted (white on black)/not inverted. More...
|
|
bool | Inverse () const |
| Returns whether the code is inverted (white on black) or not. More...
|
|
Configuration to access parameters of ReaderFourStateConfigBase.
◆ Mirrored()
Returns whether the code is mirrored/not mirrored.
- Returns
- True specifies that the 4-State Australian is mirrored, possibly because the code must be read from the rear or because it was mirrored on image acquisition.
- Exceptions
-
- See also
- SetMirrored
◆ QuietzoneWidth()
int QuietzoneWidth |
( |
| ) |
const |
|
inline |
Returns the quiet zone in module width.
- Returns
- The quiet zone. The range is between 2 to 10. Default quietzone = 5.
- Exceptions
-
- See also
- SetQuietzoneWidth
◆ SetMirrored()
void SetMirrored |
( |
bool |
mirrored | ) |
|
|
inline |
Sets whether the code is mirrored/not mirrored.
- Parameters
-
[in] | mirrored | True specifies that the 4-State Australian is mirrored, possibly because the code must be read from the rear or because it was mirrored on image acquisition. |
- Exceptions
-
- See also
- Mirrored
◆ SetQuietzoneWidth()
void SetQuietzoneWidth |
( |
int |
quietzoneWidth | ) |
|
|
inline |
Sets the quiet zone in module width.
- Parameters
-
[in] | quietzoneWidth | It sets the minimal quiet zone in module width. The range is between 2 to 10. Default quietzone = 5. |
- Exceptions
-
- See also
- QuietzoneWidth
◆ SetThreshold()
void SetThreshold |
( |
int |
threshold | ) |
|
|
inline |
Sets the digitalisation threshold in percent, ranging from 0 to 100.
- Parameters
-
[in] | threshold | Default threshold = 10. |
- Exceptions
-
- See also
- Threshold
◆ Threshold()
Returns the digitalisation threshold in percent, ranging from 0 to 100.
- Returns
- The digitalisation threshold.
- Exceptions
-
- See also
- SetThreshold