public final class ErrorCorrection
extends java.lang.Object
PDF417 error correction implementation.
This example is quite useful in understanding the algorithm.
ReedSolomonDecoder
构造器和说明 |
---|
ErrorCorrection() |
public int decode(int[] received, int numECCodewords, int[] erasures) throws ChecksumException
received
- received codewordsnumECCodewords
- number of those codewords used for ECerasures
- location of erasuresChecksumException
- if errors cannot be corrected, maybe because of too many errors