It is possible to acquire the raw 12-bit Bayer images with NI-IMAQdx. You have two options for extracting the 12-bit Bayer data.
1) Disable Bayer Conversion
The NI-IMAQdx driver allows you to disable Bayer conversion.
In Measurement & Automation Explorer, select the Bayer Color tab.
From the Bayer Pattern droplist, select "None". Note that this only
works with NI-IMAQdx 3.0.1 or later. With the Bayer conversion
disabled, the data will be returned as a 16-bit monochrome image. You may use IMAQ Write File to save the raw data to disk.

OR
2) Get Image Data
The NI-IMAQdx API has a function called IMAQdx Get Image Data. This function will return the raw data acquired from the camera with no correction or conversion. Acquire the data into a 1D array of 16-bit pixels. You may have to correct each byte for endianness if the camera is transferring the data as big endian. You will have to implement your own mechanism to save a 1D array to disk.
Currently the Vision software does not decode 12-bit Bayer images to 48-bit color. Your software can convert data to 48-bit color. Your only task would be to massage the data to be suitable for reading with your software.
Hope this helps,
JohannS
Message Edited by JohannS on 07-16-2007 09:20 AM