Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » Datacodes » DecodeDataMatrix

DecodeDataMatrix
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Datacodes |
Translates a matrix of 0 or 1 values to a text in accordance to how DataMatrix codes are encoded.
Applications: Decoding of data matrix codes whose black and white segments have been determined in a non-standard way.
Syntax
C++
C#
void fil::DecodeDataMatrix ( const fil::Matrix& inMatrixValues, ftl::Conditional<ftl::String>& outText, ftl::Conditional<fil::DataMatrixType::Type>& outType )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inMatrixValues | const Matrix& | Matrix of binary values | |
![]() |
outText | Conditional<String>& | Decoded text or nothing if decoding failed | |
![]() |
outType | Conditional<DataMatrixType::Type>& | DataMatrix code type |
Description
Supported code types: ECC 200 and ECC 000-140.
See Also
- ReadMultipleDataMatrixCodes – Detects and recognizes several Data Matrix codes in one image.
- ReadSingleDataMatrixCode – Detects and recognizes one Data Matrix code.
- DetectSingleBarcode – Determines the position of a single barcode on the input image.
- DetectMultipleBarcodes – Determines the positions of multiple barcodes on the input image.
- RecognizeBarcode – Extracts information from a barcode located on the input image at a given position.
- ReadSingleQRCode – Detects and recognizes a single QR code on the input image.