C# Class 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.

Mostrar archivo Open project: henningms/zxing2.0-wp7

Public Methods

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

Private Methods

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

Method Details

Decoder() public method

public Decoder ( ) : zxingwp7.common
return zxingwp7.common

decode() public method

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

decode() public method

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