Class ErrorCorrection
java.lang.Object
com.google.zxing.pdf417.decoder.ec.ErrorCorrection
PDF417 error correction implementation.
This example is quite useful in understanding the algorithm.
- Author:
- Sean Owen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ErrorCorrection
public ErrorCorrection()
-
-
Method Details
-
decode
- Parameters:
received
- received codewordsnumECCodewords
- number of those codewords used for ECerasures
- location of erasures- Returns:
- number of errors
- Throws:
ChecksumException
- if errors cannot be corrected, maybe because of too many errors
-