Friedbert
May 10th, 2005, 11:36 PM
Hello
To optimize the patternrecognition i had a look at the patterndata files
(eg. hiro.patt)
and the printable patterns (eg. Patterns.pdf).
The patterndata files show a 16x16 pixel matrix of the pattern.
The 16x16 matrix is repeated 3 times. The 3 repetitions are repeated 4 times with the matrix rotated 90 degrees.
The printable patterns consist of a 32x32 matrix (inner pattern plus black border).
Is it right that the numbers in the patterndata files range from 0 to 255?
Is it better to have the appropriate parts of the patterndata file
filled only with zeros and 255 to get a better recognition?
Or should i handcode an antialiasing:
255 255 255 255...
255 200 200 200...
255 200 60 60...
255 200 60 0...
255 255 255 255...
255 150 150 150...
255 150 100 100...
255 150 100 0...
255 255 255 255...
255 255 255 255...
255 255 0 0...
255 255 0 0...
... ... ... ... ...
(therefore i will construct a 32x32 Pixel printable pattern and
print it as a 6cm x 6cm pattern)
How much white space do i need outside the printed pattern?
Friedbert
To optimize the patternrecognition i had a look at the patterndata files
(eg. hiro.patt)
and the printable patterns (eg. Patterns.pdf).
The patterndata files show a 16x16 pixel matrix of the pattern.
The 16x16 matrix is repeated 3 times. The 3 repetitions are repeated 4 times with the matrix rotated 90 degrees.
The printable patterns consist of a 32x32 matrix (inner pattern plus black border).
Is it right that the numbers in the patterndata files range from 0 to 255?
Is it better to have the appropriate parts of the patterndata file
filled only with zeros and 255 to get a better recognition?
Or should i handcode an antialiasing:
255 255 255 255...
255 200 200 200...
255 200 60 60...
255 200 60 0...
255 255 255 255...
255 150 150 150...
255 150 100 100...
255 150 100 0...
255 255 255 255...
255 255 255 255...
255 255 0 0...
255 255 0 0...
... ... ... ... ...
(therefore i will construct a 32x32 Pixel printable pattern and
print it as a 6cm x 6cm pattern)
How much white space do i need outside the printed pattern?
Friedbert