The attached project will generate the Reed Solomon generator polynomials for 7, 10, 13, 15, 16, 17, 18, 20, 22, 24, 26, 28, and 30 error correction words that might be required for QR codes as per QR Code specification.
It presents the answers as:
1. A polynomial in coefficients of X and ALPHA
2. A polynomial in coefficients of X only (ALPHA coefficients converted to X)
Code for log/anti-log tables adapted from
http://en.wikiversity.org/wiki/Reed–Solomon_codes_for_coders
and code for generating the polynomial coefficients developed from the Thonky tutorial at
http://www.thonky.com/qr-code-tutorial/how-create-generator-polynomial/
EDIT 14 Nov 2014
Version 2 is far more efficient in terms of memory and execution time
It presents the answers as:
1. A polynomial in coefficients of X and ALPHA
2. A polynomial in coefficients of X only (ALPHA coefficients converted to X)
Code for log/anti-log tables adapted from
http://en.wikiversity.org/wiki/Reed–Solomon_codes_for_coders
and code for generating the polynomial coefficients developed from the Thonky tutorial at
http://www.thonky.com/qr-code-tutorial/how-create-generator-polynomial/
EDIT 14 Nov 2014
Version 2 is far more efficient in terms of memory and execution time
Attachments
Last edited: