8. Capturing Images 94
The RAW8 and RAW16 formats allow receiving raw data from the sensor, bypassing the processing
chain; their representation is the same as MONO8 and MONO16 formats.
Note
When using RAW formats from color NECTA cameras, the camera output is a
bayer ltered image (see Figure 3.1).
Example Code 8.7 | Color coding selection
device.ColorCoding = ColorCoding.Raw8;
Warning
It is possible to set the Pixel format only when the camera is not acquiring.
Note
Changing pixel format involves automatic recomputing of the packet size
boundaries (see Section 8.9.4).
8.6 ADC RESOLUTION
Each sensor pixel has its own 12 bit Analog to Digital Converter (ADC), whose resolution may be possi-
bly reduced to speed up the conversion: the lower selected ADC resolution, the lower ADC conversion
time, the lower minimum allowable line period.
When the maximum allowed ADC resolution is selected, NECTA internal processing chain uses the whole
pixel dynamics as supplied by the ADC through all the processing chain. The pixel value is truncated (e.g.
in 8 bit color coding) as needed just before sending the image data to the PC. This grants that the highest
pixel data accuracy is achieved.
On the other hand, reducing the ADC resolution, a lower number of bits is needed to represent pixel val-
ues, so that higher frame rates can be achieved on the cost of conversion accuracy. You can then nd the
best trade-off between frame rate and ADC resolution that meets the requirements of your application.