/// The main class which implements MaxiCode decoding -- as opposed to locating and extracting
/// the MaxiCode from an image.
///
/// Manuel Kasten
///
public sealed class Decoder
{
private const int ALL = 0;
private const int EVEN = 1;
private const int ODD = 2;
private readonly ReedSolomonDecoder rsDecoder;
public Decoder()
{
rsDecoder = new ReedSolomonDecoder(GenericGF.MAXICODE_FIELD_64);
}
public DecoderResult decode(BitMatrix bits)
{
return decode(bits, null);
}
public DecoderResult decode(BitMatrix bits,
IDictionary