10-19-2010 10:52 AM
Hi,
I'm using a USB camera to capture images of bright colored lights. I have the light configured and working in MAX and Labview 2009. My problem is that the camera is set to auto white balance in MAX and Labview, and I can't seem to change this to no white balance. When the bright lights are imaged the white wall behind the light turns the complimentary color to the light as the software attempts to 'white balance' the entire image. There doesn't seem to be an option in Labview or MAX to turn this white balance to anything other than 'auto.' I've attached the program and a couple screen shots to show the problem.
Any help would be appreciated!
10-20-2010 07:35 PM
Hi mrainey,
What ype of camera do you have and did it come with any software. I have a Logitech USB camera that you have to use the Logitech software to disable the auto white balance.
10-22-2010 04:39 PM
It's an Edmund Optics camera, part 59364 on
http://www.edmundoptics.com/onlinecatalog/displayproduct.cfm?productID=2818&PageNum=1&StartRow=1
I've tried to configure the camera in the software that comes with it, which I have been able to do, but as soon as I run MAX or LabView, it seems to override the settings and turn white balance back on.
Thanks for the feedback.
10-25-2010 05:43 PM
Hi Mrainey
Try setting the bayer pattern to none using a IMAQdx property node.
10-26-2010 11:05 AM
Joe,
I've found the property node, but how can I change the bayer pattern with it? It does not seem to be an option. It only gives me Border Size/Image Size/Image Name/Image Type as the options to be controlled via the property node. I attached my code for reference.
Thanks for your help!
10-27-2010 10:51 AM
Hi Mrainey
I looked at your code and you are wiring the property node to IMAQ image. You need to wire this to the IMAQdx session. You will then be able to access that property node.
10-27-2010 02:45 PM
Hey Joe,
I tried wiring the property node where you suggested, and was able to turn off the bayer pattern, but this didn't fix the problem. I'm still getting white balancing problem. I'd appreciate any further suggestions, thanks for your help!
10-27-2010 05:37 PM
Hi Mrainey,
I really don't know at this point, my best suggestion is to play with the settings in Measurement and Automation Explorer.
I will esculate to R&D and see if they have any ideas.
11-02-2010 10:22 AM
Thanks, I appreciate any help!!! Please keep me updated.
08-02-2011 03:15 AM
Hi!
This might be late, but for the sake of reference I will answer anyway.
You should use 2 property nodes.
To the porpery: "CameraAttributes->ActiveAttribute"
you should wire the string: "CameraAttributes::WhiteBalance::Mode", and to the property "ValueDBL" you should wire 1 (for manual).
Then repeat this on a second property node but change "mode" to "value" and wire the desired value to "ValueDBL."
For a more complete description see my post on a similar problem with autofocus (change "Focus" to "WhiteBalance" and it is the same as described above).
http://forums.quickcamteam.net/showthread.php?tid=891
// Emil