Google Groups Home
Help | Sign in
aztec 2d - complete letter
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
preon  
View profile
 More options 30 Jun, 12:07
From: preon <rob...@preon.pl>
Date: Mon, 30 Jun 2008 04:07:14 -0700 (PDT)
Local: Mon 30 Jun 2008 12:07
Subject: aztec 2d - complete letter
Hi

I'm looking for Aztec specifiactin - I know that this is described in
iso standard 24778 and I can buy it, but I haven't any card ... so I
can't buy it ...
I've problem with not generate but _read_ (decode) the code.
I have to decode matrix 91x91 and I've few questions about it :

1. what data is encoded on the 'eye'-edge (I suspect that there is
information about count of codewords, codeword length, polynomial
etc.) and how to encode them ?

2. how to find where data (in the matrix) is begin (I looked on bits
in few matix and data started at different bits) ?

3. how to find where data (in the matrix) is end ?

4. what is matter/sense of special singns ('high-level' encoding) :
    - LL (I think this is Lower Letter - this sign change the coding
to 5 bits)
    - ML (Main Letter ?? means upper letter ?? )
    - DL (I think this is Digital Letter - this sign change the coding
to 4 bits)
    - US ( ??? )
    - BS (??? Border Sign  :) ??)
    - PS ( ??? )
    - other sings : SOH, STX. ETX, EOT, ENQ, ACK, BEL, BS, HT, LF, VT,
FF, CR, ESC, FS, GS, RS, US, DEL (I, of course, know that CR is Carret
Return or DEL is Delete, but I don't know if it matter in decoding
process)

5. where can be a locations/psitins rows/columns - I've seen (first)
it at 9 and at 13 (in matrix 91x91)

6. I've tired to encode a message AaBbCcDdEeFf in the small matrix
15x15 and its look :

000001111010011
001100111011001
01xx00001110x01
01xxxxxxxxxxx10
111xxxxxxxxx100
001xxxxxxxxx011
001xxxxxxxxx000
011xxxxxxxxx100
011xxxxxxxxx111
110xxxxxxxxx111
001xxxxxxxxx001
000xxxxxxxxxx00
010010010100010
101110000101010
100110010001100

and I don't understand it .........

7. I've tired to decode my example matrix 91x91 and it look strange
(first[last] layer ) :

 scrap of message : WwMAAO9CAEECM
00
00
00
00
11 5-bits W (11000) - why message starts here ?
00
0 1 5-bits BS (11111) - I don't know what is this
11
11
01 (positioned row) why it is there ?
00  - strange bits start
00
10
11
10
11 - strange bits end
1 0 5-bits M (01110)
11
10
00  5-bits A (00010)
01
0 0  5-bits A (00010)
 00
 10
10 5-bits O (10000) without positioned row
01 (positioned row) why it is there ?
00
0 1 5-bits DL (11110)
11
10
10 4-bits 9 (1011)
11
11 4-bits UL (1110)
10
00 5-bits C (00100)
10
0 0 5-bits A (00010)
00
10
00 5-bits E (00110) without positioned row
11
01 (positioned row) why it is there ?
0 0 5-bits E (00110)
01
10
00 5-bits C (00100)
10
0 0 5-bits M (01110)
11
10
.....

I hope that You can help me and help me ... :)

Please help .... SOS

Best regards

Robert Cok

ps. sorry for my English - its result of 50 years Soviet occupation :
(.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Terry Burton  
View profile
 More options 2 Jul, 00:47
From: "Terry Burton" <t...@terryburton.co.uk>
Date: Wed, 2 Jul 2008 00:47:51 +0100
Local: Wed 2 Jul 2008 00:47
Subject: Re: [postscriptbarcode] aztec 2d - complete letter

On Mon, Jun 30, 2008 at 12:07 PM, preon <rob...@preon.pl> wrote:
> I'm looking for Aztec specifiactin - I know that this is described in
> iso standard 24778 and I can buy it, but I haven't any card ... so I
> can't buy it ...
> I've problem with not generate but _read_ (decode) the code.
> I have to decode matrix 91x91 and I've few questions about it :

Hi Robert,

You are certainly not alone as many others have also struggled to find
a free detailed description of the decode algorithm for Aztec Code
without success. You may find that examining the source to the aztec
encoder in BWIPP proves fruitful in the absence of the ISO
specification.

> 1. what data is encoded on the 'eye'-edge (I suspect that there is
> information about count of codewords, codeword length, polynomial
> etc.) and how to encode them ?

The specification refers to this as the 40-bit "Mode Message" which
wraps clockwise from the top around the finder pattern between the
orientation patterns (three-pixel corners abutting the finder pattern)
and reference grid (horizontal and vertical, dashed lines through the
centre of the symbol). It encodes the number of layers, the total
number of data codewords and a set of error correction codewords for
the mode message. The correct values for the number of data codewords
is found via a lookup table which you can find in my code called
"metrics".
.

> 2. how to find where data (in the matrix) is begin (I looked on bits
> in few matix and data started at different bits) ?

It always wraps symmetrically clockwise as a series of two-module high
"dominoes" from a position directly above the top left orientation
pattern.

> 3. how to find where data (in the matrix) is end ?

This has to be derived from the number of codewords specified in the
mode data, the bits per codeword (which depends on the symbol size)
and the aforementioned placement strategy.

> 4. what is matter/sense of special singns ('high-level' encoding) :
>    - LL (I think this is Lower Letter - this sign change the coding
> to 5 bits)

Lower latch

>    - ML (Main Letter ?? means upper letter ?? )

Mixed latch

>    - DL (I think this is Digital Letter - this sign change the coding
> to 4 bits)

Digit latch

>    - US ( ??? )

Upper shift

>    - BS (??? Border Sign  :) ??)

Binary shift

>    - PS ( ??? )

Punctuation shift

There is also PL, UL with their expected meanings.

>    - other sings : SOH, STX. ETX, EOT, ENQ, ACK, BEL, BS, HT, LF, VT,
> FF, CR, ESC, FS, GS, RS, US, DEL (I, of course, know that CR is Carret
> Return or DEL is Delete, but I don't know if it matter in decoding
> process)

These have their usual ASCII meanings [3].

I have began making some steps towards implementing the high-level
encoding for Aztec Code within BWIPP, but ran out of time [2]. I'll
finish it off as soon as I can find time.

> 5. where can be a locations/psitins rows/columns - I've seen (first)
> it at 9 and at 13 (in matrix 91x91)
<...snip...>
> 6. I've tired to encode a message AaBbCcDdEeFf in the small matrix
> 15x15 and its look :
<...snip...>
> 7. I've tired to decode my example matrix 91x91 and it look strange
> (first[last] layer ) :

To answer these questions it would be necessary for you to examine the
ISO/IEC 24778 specification in detail. Doing worked decoding examples
by hand is a laborious and error-prone process even then one is in
possession of the specification.

Best of luck,

Tez

[1] http://postscriptbarcode.googlecode.com/svn/trunk/barcode.ps
[2] http://postscriptbarcode.googlecode.com/svn/branches/aztec_encode/azt...
[3] http://www.asciitable.com/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google