C# Класс ZXing.Datamatrix.Internal.Decoder

The main class which implements Data Matrix Code decoding -- as opposed to locating and extracting the Data Matrix Code from an image.

[email protected] (Brian Brown)
Показать файл Открыть проект

Открытые методы

Метод Описание
Decoder ( ) : ZXing.Common

Initializes a new instance of the Decoder class.

decode ( BitMatrix bits ) : ZXing.Common.DecoderResult

Decodes a Data Matrix Code represented as a BitMatrix. A 1 or "true" is taken to mean a black module.

decode ( bool image ) : ZXing.Common.DecoderResult

Convenience method that can decode a Data Matrix Code represented as a 2D array of booleans. "true" is taken to mean a black module.

booleans representing white/black Data Matrix Code modules text and bytes encoded within the Data Matrix Code if the Data Matrix Code cannot be decoded if error correction fails

Приватные методы

Метод Описание
correctErrors ( byte codewordBytes, int numDataCodewords ) : bool

Given data and error-correction codewords received, possibly corrupted by errors, attempts to correct the errors in-place using Reed-Solomon error correction.

data and error correction codewords number of codewords that are data bytes

Описание методов

Decoder() публичный Метод

Initializes a new instance of the Decoder class.
public Decoder ( ) : ZXing.Common
Результат ZXing.Common

decode() публичный Метод

Decodes a Data Matrix Code represented as a BitMatrix. A 1 or "true" is taken to mean a black module.

public decode ( BitMatrix bits ) : ZXing.Common.DecoderResult
bits ZXing.Common.BitMatrix booleans representing white/black Data Matrix Code modules
Результат ZXing.Common.DecoderResult

decode() публичный Метод

Convenience method that can decode a Data Matrix Code represented as a 2D array of booleans. "true" is taken to mean a black module.

booleans representing white/black Data Matrix Code modules text and bytes encoded within the Data Matrix Code if the Data Matrix Code cannot be decoded if error correction fails
public decode ( bool image ) : ZXing.Common.DecoderResult
image bool
Результат ZXing.Common.DecoderResult