CVB++ 14.0
DataMatrix Class Reference

Configuration to access parameters of DataMatrix. More...

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

Inherits Reader2DConfigBase.

Public Member Functions

void SetLevels (DataMatrixLevels levels)
 Bit field which specifies the permitted error correction level (ECCs). More...
 
void SetFormats (DataMatrixFormats formats)
 Bit field which specifies the permitted coding schemes (also known as format IDs) (only for ECC 000 to ECC 140). More...
 
DataMatrixFormats Formats () const
 Bit field which specifies the permitted coding schemes (also known as format IDs) (only for ECC 000 to ECC 140). More...
 
void SetMinSize (int minSize)
 Minimum number of lines and columns. More...
 
int MinSize () const
 Returns the minimum number of lines and columns. More...
 
void SetMaxSize (int maxSize)
 Maximum number of lines and columns. More...
 
int MaxSize () const
 Returns the maximum number of lines and columns. More...
 
void SetAllowRectangular (bool rectangular)
 Permit/do not permit rectangular Data Matrix. More...
 
bool AllowRectangular () const
 Returns whether to permit/not permit rectangular Data Matrix. More...
 
void SetAllowDistorted (bool distorted)
 Code is distorted (no effect with dotted Data Matrix). More...
 
bool AllowDistorted () const
 Returns whether the code is distorted (no effect with dotted Data Matrix). More...
 
void SetSubType (DataMatrixSubType subType)
 Distinguish between evaluate characteristics of the Data Matrix code (DataMatrixSubType::DataMatrix, DataMatrixSubType::PharmaCode2D and DataMatrixSubType::DottedDatamatrix). More...
 
DataMatrixSubType SubType () const
 Returns the evaluate characteristics of the Data Matrix code (DataMatrixSubType::DataMatrix, DataMatrixSubType::PharmaCode2D and DataMatrixSubType::DottedDatamatrix). More...
 
void SetPharmaCode2DBar1 (PharmaCode2DDisposition pharmaCode2DBar1)
 Proofing of the color bar of field 1 on square or rectangular (2D Pharma Codes only) More...
 
PharmaCode2DDisposition PharmaCode2DBar1 () const
 Returns the proofing of the color bar of field 1 on square or rectangular (2D Pharma Codes only) More...
 
void SetPharmaCode2DBar2 (PharmaCode2DDisposition pharmaCode2DBar2)
 Proofing of the color bar of field 2 on square or rectangular (2D Pharma Codes only) More...
 
PharmaCode2DDisposition PharmaCode2DBar2 () const
 Returns the proofing of the color bar of field 2 on square or rectangular (2D Pharma Codes only) More...
 
void SetPharmaCode2DBar3 (PharmaCode2DDisposition pharmaCode2DBar3)
 Proofing of the color bar of field 3 on square or rectangular (2D Pharma Codes only) More...
 
PharmaCode2DDisposition PharmaCode2DBar3 () const
 Returns the proofing of the color bar of field 3 on square or rectangular (2D Pharma Codes only) More...
 
void SetPharmaCode2DBar4 (PharmaCode2DDisposition pharmaCode2DBar4)
 Proofing of the color bar of field 4 on square or rectangular (2D Pharma Codes only) More...
 
PharmaCode2DDisposition PharmaCode2DBar4 () const
 Returns the proofing of the color bar of field 4 on square or rectangular (2D Pharma Codes only) More...
 
void SetPharmaCode2DBar5 (PharmaCode2DDisposition pharmaCode2DBar5)
 Proofing of the color bar of field 5 on square or rectangular (2D Pharma Codes only) More...
 
PharmaCode2DDisposition PharmaCode2DBar5 () const
 Returns the proofing of the color bar of field 5 on square or rectangular (2D Pharma Codes only) More...
 
void SetPharmaCode2DBar6 (PharmaCode2DDisposition pharmaCode2DBar6)
 Proofing of the color bar of field 6 on square or rectangular (2D Pharma Codes only) More...
 
PharmaCode2DDisposition PharmaCode2DBar6 () const
 Returns the proofing of the color bar of field 6 on square or rectangular (2D Pharma Codes only) More...
 
void SetPharmaCode2DBar7 (PharmaCode2DDisposition pharmaCode2DBar7)
 Proofing of the color bar of field 7 on square or rectangular (2D Pharma Codes only) More...
 
PharmaCode2DDisposition PharmaCode2DBar7 () const
 Returns the proofing of the color bar of field 7 on square or rectangular (2D Pharma Codes only) More...
 
void SetPharmaCode2DBar8 (PharmaCode2DDisposition pharmaCode2DBar8)
 Proofing of the color bar of field 8 on square or rectangular (2D Pharma Codes only) More...
 
PharmaCode2DDisposition PharmaCode2DBar8 () const
 Returns the proofing of the color bar of field 8 on square or rectangular (2D Pharma Codes only) More...
 
void SetPharmaCode2DThreshold (int threshold)
 Minimum digitalisation threshold of the colour bars in percent (only for 2D Pharmacode) ranging from 0 to 100. More...
 
int PharmaCode2DThreshold () const
 Returns the minimum digitalisation threshold of the colour bars in percent (only for 2D Pharmacode) ranging from 0 to 100. More...
 
void SetPharmaCode2DExpanded (bool expanded)
 Specifies whether the code is expanded or not(only for 2D Pharmacode). More...
 
bool PharmaCode2DExpanded () const
 Returns whether the code is expanded or not(only for 2D Pharmacode). More...
 
void SetDottedContrast (int contrast)
 Minimal contrast value of the code (only dotted Data Matrix). More...
 
int DottedContrast () const
 Returns the minimal contrast value of the code (only dotted Data Matrix). More...
 
void SetDottedModuleWidth (int moduleWidth)
 The module width of the code (only dotted Data Matrix). More...
 
int DottedModuleWidth () const
 Returns the module width of the code (only dotted Data Matrix). More...
 
void SetDottedQuietzoneWidth (int quietzone)
 Quiet zone around the code (only dotted Data Matrix). More...
 
int DottedQuietzoneWidth () const
 Returns the quiet zone around the code (only dotted Data Matrix). More...
 
- Public Member Functions inherited from Reader2DConfigBase
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...
 
- Public Member Functions inherited from ReaderConfigBase
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...
 

Static Public Member Functions

static std::unique_ptr< DataMatrixFromHandle (const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
 Create object from handle. More...
 

Protected Attributes

const short MinSizeLimit_ = 7
 Lowest possible number of rows/columns in a data matrix code.
 
const short MaxSizeLimit_ = 144
 Highest possible number of rows/columns in a data matrix code.
 
const short MinDottedContrastLimit_ = 10
 Lowest possible dotted contrast value.
 
const short MaxDottedContrastLimit_ = 100
 Highest possible dotted contrast value.
 
const short MinDottedModuleWidthLimit_ = 30
 Lowest possible dotted module width value.
 
const short MaxDottedModuleWidthLimit_ = 150
 Highest possible dotted module width value.
 
const short MinDottedQuietZoneWidthLimit_ = 3
 Minimum quiet zone width when reading dotted data matrix codes.
 
const short MaxDottedQuietZoneWidthLimit_ = 5
 Maximum quiet zone width when reading dotted data matrix codes.
 

Detailed Description

Configuration to access parameters of DataMatrix.

Member Function Documentation

◆ AllowDistorted()

bool AllowDistorted ( ) const
inline

Returns whether the code is distorted (no effect with dotted Data Matrix).

Returns
When set to true, the reader will also read distorted data matrix codes. This flag will not have any effect when reading dotted data matrix codes.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetAllowDistorted

◆ AllowRectangular()

bool AllowRectangular ( ) const
inline

Returns whether to permit/not permit rectangular Data Matrix.

Returns
If this parameter is true, it specifies that rectangular codes are permitted for evaluation. Attention: Rectangular codes are defined for ECC 200 only.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetAllowRectangular

◆ DottedContrast()

int DottedContrast ( ) const
inline

Returns the minimal contrast value of the code (only dotted Data Matrix).

Returns
The return value is a scale for the minimal contrast that must be to find and read the dotted Data Matrix code in the picture.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetCheckQuietzone

◆ DottedModuleWidth()

int DottedModuleWidth ( ) const
inline

Returns the module width of the code (only dotted Data Matrix).

Returns
The module width is the count of pixel*10 of the module width of one module, it can be calculated with: module width = whole code width in pixel (without quiet zone) / number of modules*10 (default 50). Valid values are in the interval [30...150]
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetDottedModuleWidth

◆ DottedQuietzoneWidth()

int DottedQuietzoneWidth ( ) const
inline

Returns the quiet zone around the code (only dotted Data Matrix).

Returns
The return value is the quiet zone around the code in DottedModuleWidth(), normally it is set to 5 module widths. Only if it is absolute necessary it can set down finally to 3 to read a code with a very short quiet zone (default 5). Valid values are in the interval [3...5].
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetDottedQuietzoneWidth

◆ Formats()

DataMatrixFormats Formats ( ) const
inline

Bit field which specifies the permitted coding schemes (also known as format IDs) (only for ECC 000 to ECC 140).

Returns
You use the formats parameter to restrict the evaluation of a Data Matrix of types ECC 0 to ECC 140 to certain coding schemes (also known as encoding schemes or format IDS). To this end, the constants DataMatrixFormats::Base11, DataMatrixFormats::Base27, DataMatrixFormats::Base37, DataMatrixFormats::Base41, DataMatrixFormats::Ascii and DataMatrixFormats::Binary are defined. These constants can be combined in any way using a bitwise OR operator. If you want to permit all formats, you can specify the constant DataMatrixFormats::All. In the case of an ECC 200 Data Matrix, this parameter is not used.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetFormats

◆ FromHandle()

static std::unique_ptr< DataMatrix > FromHandle ( const HandleGuard< ReaderConfig > &  guard,
bool &  isActiveOut 
)
inlinestatic

Create object from handle.

Parameters
[in]guardHandle guard to read the configuration from.
[out]isActiveOutReturns the active state of the configuration in the handle.
Returns
unique pointer to object.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ MaxSize()

int MaxSize ( ) const
inline

Returns the maximum number of lines and columns.

Returns
The MinSize() and MaxSize() parameters to restrict Data Matrix evaluation to certain sizes. The sizes then refer to the number of modules or cells; peripheral structures are counted but quiet zones are not. Valid values are in the interval [7...144].
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetMaxSize

◆ MinSize()

int MinSize ( ) const
inline

Returns the minimum number of lines and columns.

Returns
The MinSize() and MaxSize() parameters to restrict Data Matrix evaluation to certain sizes. The sizes then refer to the number of modules or cells; peripheral structures are counted but quiet zones are not. Valid values are in the interval [7...144].
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetMinSize

◆ PharmaCode2DBar1()

PharmaCode2DDisposition PharmaCode2DBar1 ( ) const
inline

Returns the proofing of the color bar of field 1 on square or rectangular (2D Pharma Codes only)

Returns
The return value adjusts the proofing of the colour bar of field 1 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DBar1

◆ PharmaCode2DBar2()

PharmaCode2DDisposition PharmaCode2DBar2 ( ) const
inline

Returns the proofing of the color bar of field 2 on square or rectangular (2D Pharma Codes only)

Returns
The return value adjusts the proofing of the colour bar of field 2 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DBar2

◆ PharmaCode2DBar3()

PharmaCode2DDisposition PharmaCode2DBar3 ( ) const
inline

Returns the proofing of the color bar of field 3 on square or rectangular (2D Pharma Codes only)

Returns
The return value adjusts the proofing of the colour bar of field 3 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DBar3

◆ PharmaCode2DBar4()

PharmaCode2DDisposition PharmaCode2DBar4 ( ) const
inline

Returns the proofing of the color bar of field 4 on square or rectangular (2D Pharma Codes only)

Returns
The return value adjusts the proofing of the colour bar of field 4 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DBar4

◆ PharmaCode2DBar5()

PharmaCode2DDisposition PharmaCode2DBar5 ( ) const
inline

Returns the proofing of the color bar of field 5 on square or rectangular (2D Pharma Codes only)

Returns
The return value adjusts the proofing of the colour bar of field 5 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DBar5

◆ PharmaCode2DBar6()

PharmaCode2DDisposition PharmaCode2DBar6 ( ) const
inline

Returns the proofing of the color bar of field 6 on square or rectangular (2D Pharma Codes only)

Returns
The return value adjusts the proofing of the colour bar of field 6 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DBar6

◆ PharmaCode2DBar7()

PharmaCode2DDisposition PharmaCode2DBar7 ( ) const
inline

Returns the proofing of the color bar of field 7 on square or rectangular (2D Pharma Codes only)

Returns
The return value adjusts the proofing of the colour bar of field 7 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DBar7

◆ PharmaCode2DBar8()

PharmaCode2DDisposition PharmaCode2DBar8 ( ) const
inline

Returns the proofing of the color bar of field 8 on square or rectangular (2D Pharma Codes only)

Returns
The return value adjusts the proofing of the colour bar of field 8 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DBar8

◆ PharmaCode2DExpanded()

bool PharmaCode2DExpanded ( ) const
inline

Returns whether the code is expanded or not(only for 2D Pharmacode).

Returns
The return value permits a larger tolerance of the colour bars of the 2D Pharmacode (default: false).
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DExpanded

◆ PharmaCode2DThreshold()

int PharmaCode2DThreshold ( ) const
inline

Returns the minimum digitalisation threshold of the colour bars in percent (only for 2D Pharmacode) ranging from 0 to 100.

Returns
Minimum digitalisation threshold of the colour bars in percent (only for 2D Pharmacode) ranging from 0 to 100. The default value is 35.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetPharmaCode2DThreshold

◆ SetAllowDistorted()

void SetAllowDistorted ( bool  distorted)
inline

Code is distorted (no effect with dotted Data Matrix).

When set to true, the reader will also read distorted data matrix codes. This flag will not have any effect when reading dotted data matrix codes.

Parameters
[in]distortedWhen set to true, the reader will also read distorted data matrix codes. This flag will not have any effect when reading dotted data matrix codes.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
AllowDistorted

◆ SetAllowRectangular()

void SetAllowRectangular ( bool  rectangular)
inline

Permit/do not permit rectangular Data Matrix.

Parameters
[in]rectangularIf this parameter is true, it specifies that rectangular codes are permitted for evaluation. Attention: Rectangular codes are defined for ECC 200 only.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
AllowRectangular

◆ SetDottedContrast()

void SetDottedContrast ( int  contrast)
inline

Minimal contrast value of the code (only dotted Data Matrix).

Parameters
[in]contrastThe parameter contrast is a scale for the minimal contrast that must be to find and read the dotted Data Matrix code in the picture. How inferior the contrast is, the lower the minimum contrast has to be set to read the code. Normally the value is in the range of 30 to 40 default is 30). Valid values are in the interval [10...100]
Exceptions
Anyexception derived from std::exception including CvbException.
See also
DottedContrast

◆ SetDottedModuleWidth()

void SetDottedModuleWidth ( int  moduleWidth)
inline

The module width of the code (only dotted Data Matrix).

Parameters
[in]moduleWidthThe module width is the count of pixel*10 of the moduleWidth of one module, it can be calculated with: moduleWidth = whole code width in pixel (without quiet zone) / number of modules*10 (default 50). Valid values are in the interval [30...150]
Exceptions
Anyexception derived from std::exception including CvbException.
See also
DottedModuleWidth

◆ SetDottedQuietzoneWidth()

void SetDottedQuietzoneWidth ( int  quietzone)
inline

Quiet zone around the code (only dotted Data Matrix).

Parameters
[in]quietzoneThis is the quiet zone around the code in DottedModuleWidth(), normally it is set to 5 module widths. Only if it is absolute necessary it can set down finally to 3 to read a code with a very short quiet zone (default 5). Valid values are in the interval [3...5].
Exceptions
Anyexception derived from std::exception including CvbException.
See also
DottedQuietzoneWidth

◆ SetFormats()

void SetFormats ( DataMatrixFormats  formats)
inline

Bit field which specifies the permitted coding schemes (also known as format IDs) (only for ECC 000 to ECC 140).

Parameters
[in]formatsYou use the formats parameter to restrict the evaluation of a Data Matrix of types ECC 0 to ECC 140 to certain coding schemes (also known as encoding schemes or format IDS). To this end, the constants DataMatrixFormats::Base11, DataMatrixFormats::Base27, DataMatrixFormats::Base37, DataMatrixFormats::Base41, DataMatrixFormats::Ascii and DataMatrixFormats::Binary are defined. These constants can be combined in any way using a bitwise OR operator. If you want to permit all formats, you can specify the constant DataMatrixFormats::All. In the case of an ECC 200 Data Matrix, this parameter is not used.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
Formats

◆ SetLevels()

void SetLevels ( DataMatrixLevels  levels)
inline

Bit field which specifies the permitted error correction level (ECCs).

Parameters
[in]levelsBit field which specifies the permitted error correction level (ECCs).
Exceptions
Anyexception derived from std::exception including CvbException.
See also
CheckQuietzone

◆ SetMaxSize()

void SetMaxSize ( int  maxSize)
inline

Maximum number of lines and columns.

Parameters
[in]maxSizeYou can use the MinSize() and maxSize parameters to restrict Data Matrix evaluation to certain sizes. The sizes then refer to the number of modules or cells; peripheral structures are counted but quiet zones are not. Valid values are in the interval [7...144].
Exceptions
Anyexception derived from std::exception including CvbException.
See also
MaxSize

◆ SetMinSize()

void SetMinSize ( int  minSize)
inline

Minimum number of lines and columns.

Parameters
[in]minSizeYou can use the minSize and MaxSize() parameters to restrict Data Matrix evaluation to certain sizes. The sizes then refer to the number of modules or cells; peripheral structures are counted but quiet zones are not. Valid values are in the interval [7...144].
Exceptions
Anyexception derived from std::exception including CvbException.
See also
MinSize

◆ SetPharmaCode2DBar1()

void SetPharmaCode2DBar1 ( PharmaCode2DDisposition  pharmaCode2DBar1)
inline

Proofing of the color bar of field 1 on square or rectangular (2D Pharma Codes only)

Parameters
[in]pharmaCode2DBar1Adjusts the proofing of the colour bar of field 1 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DBar1

◆ SetPharmaCode2DBar2()

void SetPharmaCode2DBar2 ( PharmaCode2DDisposition  pharmaCode2DBar2)
inline

Proofing of the color bar of field 2 on square or rectangular (2D Pharma Codes only)

Parameters
[in]pharmaCode2DBar2Adjusts the proofing of the colour bar of field 2 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DBar2

◆ SetPharmaCode2DBar3()

void SetPharmaCode2DBar3 ( PharmaCode2DDisposition  pharmaCode2DBar3)
inline

Proofing of the color bar of field 3 on square or rectangular (2D Pharma Codes only)

Parameters
[in]pharmaCode2DBar3Adjusts the proofing of the colour bar of field 3 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DBar3

◆ SetPharmaCode2DBar4()

void SetPharmaCode2DBar4 ( PharmaCode2DDisposition  pharmaCode2DBar4)
inline

Proofing of the color bar of field 4 on square or rectangular (2D Pharma Codes only)

Parameters
[in]pharmaCode2DBar4Adjusts the proofing of the colour bar of field 4 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DBar4

◆ SetPharmaCode2DBar5()

void SetPharmaCode2DBar5 ( PharmaCode2DDisposition  pharmaCode2DBar5)
inline

Proofing of the color bar of field 5 on square or rectangular (2D Pharma Codes only)

Parameters
[in]pharmaCode2DBar5Adjusts the proofing of the colour bar of field 5 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DBar5

◆ SetPharmaCode2DBar6()

void SetPharmaCode2DBar6 ( PharmaCode2DDisposition  pharmaCode2DBar6)
inline

Proofing of the color bar of field 6 on square or rectangular (2D Pharma Codes only)

Parameters
[in]pharmaCode2DBar6Adjusts the proofing of the colour bar of field 6 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DBar6

◆ SetPharmaCode2DBar7()

void SetPharmaCode2DBar7 ( PharmaCode2DDisposition  pharmaCode2DBar7)
inline

Proofing of the color bar of field 7 on square or rectangular (2D Pharma Codes only)

Parameters
[in]pharmaCode2DBar7Adjusts the proofing of the colour bar of field 7 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DBar7

◆ SetPharmaCode2DBar8()

void SetPharmaCode2DBar8 ( PharmaCode2DDisposition  pharmaCode2DBar8)
inline

Proofing of the color bar of field 8 on square or rectangular (2D Pharma Codes only)

Parameters
[in]pharmaCode2DBar8Adjusts the proofing of the colour bar of field 8 using a quadratic or rectangular 2D Pharmacode.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DBar8

◆ SetPharmaCode2DExpanded()

void SetPharmaCode2DExpanded ( bool  expanded)
inline

Specifies whether the code is expanded or not(only for 2D Pharmacode).

Parameters
[in]expandedThe parameter expanded permits a larger tolerance of the colour bars of the 2D Pharmacode (default: false).
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DExpanded

◆ SetPharmaCode2DThreshold()

void SetPharmaCode2DThreshold ( int  threshold)
inline

Minimum digitalisation threshold of the colour bars in percent (only for 2D Pharmacode) ranging from 0 to 100.

Parameters
[in]thresholdMinimum digitalisation threshold of the colour bars in percent (only for 2D Pharmacode) ranging from 0 to 100. The default value is 35.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
PharmaCode2DThreshold

◆ SetSubType()

void SetSubType ( DataMatrixSubType  subType)
inline

Distinguish between evaluate characteristics of the Data Matrix code (DataMatrixSubType::DataMatrix, DataMatrixSubType::PharmaCode2D and DataMatrixSubType::DottedDatamatrix).

Parameters
[in]subTypeDistinguish between evaluate characteristics of the Data Matrix code (DataMatrix, PharmaCode2D and DottedDatamatrix).
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SubType

◆ SubType()

DataMatrixSubType SubType ( ) const
inline

Returns the evaluate characteristics of the Data Matrix code (DataMatrixSubType::DataMatrix, DataMatrixSubType::PharmaCode2D and DataMatrixSubType::DottedDatamatrix).

Returns
The return value distinguishes between evaluate characteristics of the Data Matrix code (DataMatrix, PharmaCode2D and DottedDatamatrix).
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetSubType