I have been working at decoding the color image format for the 3Com/Vista
Imaging camera this is what I know so far:

The packet size is B780h (46976 bytes) the first and last 64 bytes appear
to be header information so that leaves 46848 bytes.  The first byte of
both the start and end header seems to vary then the following sequence
occcurs: 29 05 01 01 00 00 02 EC 01 FC FF , this is followed by 52 bytes of
data, this data is usually the same as (End of Packet - 180 bytes) through
(End of Packet - 128 bytes) sometimes it is different though and I don't
know why.

Greyscale Image:

15744 bytes (with header)
15616 bytes (without header)
128x122 image

Color Image:

46976 bytes (with header)
46848 bytes (without header)
256x183 image

Note: It seems interesting that the color image size is 3x the size of
greyscale, however I have been unable to make the image look right when
forcing it as 24bit (RGB) color.

However the color image results that I have do not display in color and I
am unsure why.  If anyone has any ideas please let me know.  The test
images I have are on my website listed below.  They are in tga format
mainly so I could easily test out my RGB555 theory.  If anyone knows of a
better graphic format that I can plug the raw image data into without
modifying the data let me know.  I have also included png versions for
people unable to view the original tga files.

http://cheney.cx/camera/

160-iopener-24.bin
160-iopener-24.tga
160-sun-24.bin
160-sun-24.tga


Thanks,

Chris Cheney

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to