public final class ErrorCorrection extends Object
PDF417 error correction implementation.
This example is quite useful in understanding the algorithm.
ReedSolomonDecoder| Constructor and Description |
|---|
ErrorCorrection() |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(int[] received,
int numECCodewords,
int[] erasures) |
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 errorsCopyright © 2007–2019. All rights reserved.