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

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

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

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

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

Decodes a PDF417 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 PDF417 Code represented as a 2D array of booleans. "true" is taken to mean a black module.

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

Метод Описание
correctErrors ( int codewords, int erasures, int numECCodewords ) : int

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

verifyCodewordCount ( int codewords, int numECCodewords ) : void

Verify that all is OK with the codeword array.

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

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

Decodes a PDF417 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 PDF417 Code modules ///
Результат zxingwp7.common.DecoderResult

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

Convenience method that can decode a PDF417 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 PDF417 modules ///
Результат zxingwp7.common.DecoderResult