C# Class zxingwp7.pdf417.decoder.Decoder

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

Exibir arquivo Open project: henningms/zxing2.0-wp7

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

decode() public method

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 ///
return zxingwp7.common.DecoderResult

decode() public method

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 ///
return zxingwp7.common.DecoderResult