摘要 |
A system and method for identifying erasures in a 2D symbol is disclosed. One embodiment of a method for marking a codeword as an erasure in a Quick Response code (QR code) captured by a bar code reader includes, identifying the scrambling mask used for encoding the data in the QR code. A location of the codeword in the QR code corresponds with a portion of the scrambling mask. The codeword comprises multiple codeword bits and the portion of the scrambling mask comprises multiple mask bits. The method further includes, generating an unscrambled codeword by performing a logical operation between each of the multiple codeword bits and each of the multiple mask bits, generating a reference matrix by applying the scrambling mask to a uniform matrix, and/or comparing the unscrambled codeword with the reference matrix to determine whether the codeword is the erasure.
|