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 SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ErrorCorrectionpublic ErrorCorrection()
 
- 
- 
Method Details- 
decode- Parameters:
- received- received codewords
- numECCodewords- number of those codewords used for EC
- erasures- location of erasures
- Returns:
- number of errors
- Throws:
- ChecksumException- if errors cannot be corrected, maybe because of too many errors
 
 
-