>>>>> "АП" == Алексей Прокопчук <[email protected]> writes:

АП> The scanner gives the data of the fingerprint by eight blocks of
АП> 61440 bytes in each. Manufacturer's web site indicated that image
АП> resolution is 192 x 8 pixels @ 508 dpi, 16 gray levels / sensor
АП> pixel (4-bit ADC).  Unfortunately, I'm totally not familiar with the
АП> image processing algorithms. I tried to write the obtained data as
АП> the PGM image, but this format only supports 8 bits per pixel, hence
АП> 61440 bytes - it is exactly an image 192 x 320.

You might try outputting ascii pgm files; use P2 instead of P5 as the
header line, then a line with the width and height output in %d printf(3)
format, then a line with the maximum value (15 for a 4-bit int) and then
a whitespace-separated list of the 4-bit values in %d format.

Eg, something like:

P2
6 4
15
0 0 0 0 0 7
0 13 0 4 0 0
0 0 12 0 3 0
8 0 0 11 1 0

At 192 x 8 x 4 bits per stripe you should get 80 stripes out of a 61440
octet blob.

АП> If I give a link to a sample of the data, obtained from reader, can
АП> you help me deal with what to do with this data?

I wouldn't mind trying it out.

-JimC
-- 
James Cloos <[email protected]>         OpenPGP: 1024D/ED7DAEA6
_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to