01-14-2009 05:30 PM
I have a Jai cv-a70ge camera and the image is 767x576. When i set the height and width in the property node for the grab, it gives me an error saying they are out of range. Any help would be appreciated.
While I am at it, how could I set it up to get the Bayer encoded image. All the examples I have seen the images look like they are black and white. Is there a way to configure the grab to be baye encoded?
Matt
01-16-2009 01:01 PM
Hello Matt,
Could you provide some more detail about this error
- What version of LabVIEW are you using?
- Which version of Vision software are you using?
- Is there an error code associated with this message and what is the exact wording on the error message?
- A brief description of the VI's you are using or applicable details about your code would be helpful too.
Thanks,
Anna K.
01-18-2009 03:40 AM
I figured out the issue with the property node, but the second question is really the one I need help with.
The camera manual says that it uses bayer encoding and I want to set up an automatic white balance using labview. From all the stuff I read on the posts, the only way to do it besides property nodes, which is kind of useless since each time a correction needs to be made, the session has to be closed and a new one opened with the new rgb gain values, is to use the bayer encoded vi along with the bayer LUT vi. Now the problem is, how can i take the feed from the camera and make it a bayer coded image? when i try to wire it to the vi, it gives me a runtime error saying incompatible image. Can you please help me with this? I looked on the options in the property node and saw none. I also looked for some kind of a clue in MAX but nothing stood out. There a post with an example but it doesn't use a camera input it uses a file, so that didn't help much. My specs are below.
JAI cv-a70ge camera
labview 8.2.1
VAS 860and VDM 850
The Jai uses a gigE ethernet to connect to computer.
Thank you
Matt
01-19-2009 12:03 PM
Matt,
I went to the NI Example Finder and typed in the search keyword - Bayer - and found 4 examples of Bayer decoding with snap, grab and ring. Did those not help?
A Bayer image is going to come in as a greyscale image and then must be decoded according to the camera specs.
Also, see the following Knowledge Base article:
Auto White Balancing Utility Algorithm