12-27-2006 06:46 AM
12-28-2006 01:14 PM - edited 12-28-2006 01:14 PM
Hello speck,
There are several things to be aware of when using doing color image acquisition:
Because you are getting an image currently, I am assuming these images are Bayer encoded and need decoding. If it is Bayer encoded, you will need to decode them as demonstrated in the example.
Regards,
Luke H
Applications Engineering
National Instruments
Message Edited by Luke H on 12-28-2006 01:15 PM
Message Edited by Luke H on 12-28-2006 01:16 PM
01-01-2007 04:54 AM
01-01-2007 05:01 AM
01-02-2007 06:46 PM
Hey speck,
It sounds like your CCD sensor is not really sending true
color images. Instead, it seems to be
sending Bayer encoded grayscale images. The
Bayer decoding cannot currently (at the time of this post) be done within
Measurement and Automation Explorer (MAX).
Bayer encoded images are grayscale images that must be properly decoded
to get any color information out of them.
You haven’t mentioned the environment in which you will be developing
your final application. If you are using
LabVIEW, please take a look at the Snap
with Bayer Decoding.vi that I referenced in my previous post. This will snap an image and apply Bayer
decoding to transform the grayscale image into a color image. There is also an example for C at the
following path, C:\Program
Files\National Instruments\NI-IMAQ\Sample\MSVC\Color\BayerDecode.
01-03-2007 03:37 AM
Hello Mr.Luke!
We have already tried with Snap/Ring With Bayer Decoding.vi . but while using that we are getting error regarding image type and bit depth.
Regards
01-04-2007 04:27 PM
Hello speck,