C# Класс zxingwp7.datamatrix.decoder.Decoder

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

Показать файл Открыть проект

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

Метод Описание
Decoder ( ) : zxingwp7.common
decode ( BitMatrix bits ) : DecoderResult

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

decode ( bool image ) : 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.

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

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

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

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

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

public Decoder ( ) : zxingwp7.common
Результат zxingwp7.common

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

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

public decode ( BitMatrix bits ) : DecoderResult
bits zxingwp7.common.BitMatrix booleans representing white/black Data Matrix Code modules ///
Результат zxingwp7.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.

public decode ( bool image ) : DecoderResult
image bool booleans representing white/black Data Matrix Code modules ///
Результат zxingwp7.common.DecoderResult