Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ 12-bit/16bit monochrome buffer format - bitwise justification

I'm new to using the IMAQ software and PCI-1424 card, in addition to not
having access to an operational (IMAQ) system yet, so please be patient
with me.

I need to know how IMAQ "justifies" 12-bit data within the 16-bit buffer
format. ie LSB: 2047 -> 2047 (0x7FF), or MSB: 2047 -> 32752 (0x7FF0) ?.

---
regards,
Richard Rudek.
MicroDek, Sydney, Australia.
0 Kudos
Message 1 of 3
(3,080 Views)
Richard,

By your definition, it would be the LSB format. The higher bits are always zero. The values remain the same. It is just like converting a U8 to I16. Note that 16 bit images are signed (I16) not unsigned (U16).

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(3,080 Views)
On Tue, 6 Aug 2002 22:47:37 -0500 (CDT), Bruce Ammons
wrote:

>Richard,
>
>By your definition, it would be the LSB format. The higher bits are
>always zero. The values remain the same. It is just like converting
>a U8 to I16. Note that 16 bit images are signed (I16) not unsigned
>(U16).

Thank you.

---
regards,
Richard Rudek.
MicroDek, Sydney, Australia.
0 Kudos
Message 3 of 3
(3,080 Views)