DataMatrixWriter/ECC200 and ReedSolomonEncoder

Skip to first unread message

Zorawar B.

Mar 7, 2017, 9:46:48 PM3/7/17
to zxing

My apologies in advance if I do not use the terminology correctly and have missed something obvious.

The wikipedia entry for Data Matrix codes, [1], says the newer version ECC200 uses Reed-Solomon codes. Going through the sources I saw that the DataMatrixWriter internally creates ECC200 error correction code, ErrorCorrection [2].

My questions are,
Q1. Is ErrorCorrection[2] internally also using the Reed-Solomon algorithm for creating the codes?
Q2. What is the purpose of ReedSolomonEncoder [3]?
Q3. Using zxing how should the error-code bytes be generated for the ReedSolomonEncoder?



Sean Owen

Mar 13, 2017, 4:25:26 PM3/13/17
to zxing
My knowledge is also rusty and incomplete, but certainly the main version of Data Matrix uses Reed-Solomon, yes. That means it's needed for decoding and encoding too, if that's what you mean? you determine the EC bytes using Reed-Solomon and the implementation you point to. I'm not sure what you refer to besides this.
Reply all
Reply to author
0 new messages