討論區: English (Thread #10782)

QRCodeSymbol (2006-04-13 02:08 by benjaminbellamy #21200)

Hi,

I finally changed AlignmentPattern and QRCodeImageReader, and everything works fine.

There is still one thing to do :
updating QRCodeSymbol.

What do int[][] numErrorCollectionCode and int[][] numRSBlocks are for ?

I assume that there are 4 values (L, M, Q and H) by version.

How can I guess the values for version 14 to 40 ?

Regards,
Benjamin.

回覆 #21200×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

Found numRSBlocks (2006-04-13 02:58 by benjaminbellamy #21201)

final int[][] numRSBlocks = {
{ 1,1,1,1 },
{ 1,1,1,1 }, { 1,1,2,2 }, { 1,2,2,4 }, { 1,2,4,4 }, { 2,4,4,4 },
{ 2,4,6,5 }, { 2,4,6,6 }, { 2,5,8,8 }, { 4,5,8,8 }, { 4,5,8,11 }, { 4,8,10,11 }, { 4,9,12,16 },
{ 4,9,16,16 }, { 6,10,12,18 }, { 6,10,17,16 }, { 6,11,16,19 }, { 6,13,18,21 }, { 7,14,21,25 }, { 8,16,20,25 },
{ 8,17,23,25 }, { 9,17,23,34 }, { 9,18,25,30 }, { 10,20,27,32 }, { 12,21,29,35 }, {12,23,34,37 }, { 12,25,34,40 },
{ 13,26,35,42 }, { 14,28,38,45 }, { 15,29,40,48 }, { 16,31,43,51 }, { 17,33,45,54 }, { 18,35,48,57 }, { 19,37,51,60 },
{ 19,38,53,63 }, { 20,40,56,66 }, { 21,43,59,70 }, { 22,45,62,74 }, { 24,47,65,77 }, { 25,49,68,81 }
};
回覆: #21200

回覆 #21201×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

Found numErrorCollectionCode (2006-04-13 03:12 by benjaminbellamy #21202)

final int[][] numErrorCollectionCode = {
{ 7,10,13,17 },
{ 10,16,22,28 }, { 15,26,36,44 }, { 20,36,52,64 }, { 26,48,72,88 }, { 36,64,96,112 },
{ 40,72,108,130 }, { 48,88,132,156 }, { 60,110,160,192 }, { 72,130,192,224 }, { 80,150,224,264 }, { 96,176,260,308 }, { 104,198,288,352 },
{ 120,216,320,384 }, { 132,240,360,432 }, { 144,280,408,480 }, { 168,308,448,532 }, { 180,338,504,588 }, { 196,364,546,650 }, { 224,416,600,700 },
{ 224,442,644,750 }, { 252,476,690,816 }, { 270,504,750,900 }, { 300,560,810,960 }, { 312,588,870,1050 }, { 336,644,952,1110 }, { 360,700,1020,1200 },
{ 390,728,1050,1260 }, { 420,784,1140,1350 }, { 450,812,1200,1440 }, { 480,868,1290,1530 }, { 510,924,1350,1620 }, { 540,980,1440,1710 }, { 570,1036,1530,1800 },
{ 570,1064,1590,1890 }, { 600,1120,1680,1980 }, { 630,1204,1770,2100 }, { 660,1260,1860,2220 }, { 720,1316,1950,2310 }, { 750,1372,2040,2430 }
};
回覆: #21200

回覆 #21202×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: QRCodeSymbol (2006-04-14 18:12 by yanbe #21228)

Hi! Thank you for your contribution.

>How can I guess the values for version 14 to 40 ?

In QR Code specification(JIS-X-0510), these constants is not seems to regular. So I just copied constants as numErrorCollectionCode and numRSBlocks from table in specification page 30. But this is not finished yet now.

QR Code specification is available below.
http://www.jisc.go.jp/app/pager
(Search jis-x-0510)

Regards,
Yusuke Yanbe.
回覆: #21200

回覆 #21228×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: QRCodeSymbol (2006-04-14 18:15 by yanbe #21229)

Sorry, correct url is below
http://www.jisc.go.jp/
回覆: #21228

回覆 #21229×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: QRCodeSymbol (2006-04-14 23:46 by drhu00 #21234)

from where you search JIS-X-0510?
回覆: #21200

回覆 #21234×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: QRCodeSymbol (2006-04-15 00:20 by benjaminbellamy #21235)

Here :
http://www.webstore.jsa.or.jp/webstore/Com/FlowControl.jsp?lang=en&bunsyoId=JIS+X+0510%3A2004&dantaiCd=JIS&status=1&pageNo=0
It costs JPY 4830 (71 USD)

or here :
http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=30789
It costs 200 CHF (154 USD)

I don't have it so I am debugging in the dark...

I happened to find numErrorCollectionCode and numRSBlocks in the Swetake library files...

Benjamin.
回覆: #21200

回覆 #21235×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: QRCodeSymbol (2006-04-15 15:20 by yanbe #21253)

OK, I will complete numErrorCollectionCode and numRSBlocks soon. Please check CVS.
回覆: #21235

回覆 #21253×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: QRCodeSymbol (2006-04-15 17:30 by benjaminbellamy #21256)

Don't bother completing numErrorCollectionCode and numRSBlocks, I already found them.

But thanks you for tranlating the comments in english, you are doing that much better than I did with babelfish. ;-) (which BTW is very good at translating japanese...)

Benjamin.
回覆: #21253

回覆 #21256×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: QRCodeSymbol (2006-04-18 03:12 by drhu00 #21311)

But there are still lots of japanese comments in all the source code. It would be much better to translate all to english. I hate it give me 100's warinings when I compile.
回覆: #21256

回覆 #21311×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

Japanese Comments (2006-04-18 18:43 by 匿名 #21326)

Just try that :
javac -encoding shift-jis

Regards,
Benjamin.
回覆: #21311

回覆 #21326×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入