05-07-2018 02:54 AM
Dear Friends
I am using Windows Life cam camera But I have big problem
When I change a camera exposure manually, the image is getting dark. The image becomes brighter when I change the brightness setting to an old value. Is there a way to hang this problem?
Solved! Go to Solution.
05-07-2018 04:07 PM
Hi Himes,
- Where are you changing camera exposure? NI MAX? The manufacturer's software? Programmatically in LabVIEW?
- What is the model of camera are you using?
- What is the default value and what value are you setting the exposure? You should see a brighter image if you set a longer exposure time, as it determines how long the camera sensor is open to incoming light.
Angela L.
National Instruments
05-07-2018 04:24 PM
Hi Angela
The camera model I'm using is on the attached link. I am making changes with the LabView Property Node and registering with Imaq dx. The values I can input are as follows.
The main problem is that after I set the exposure, I adjust the brightness to 80 and then I do 81 and then I get 80 again. At this time, the image brightness changes in an apparent way.
https://www.bhphotovideo.com/c/product/744410-REG/Microsoft_6CH_00001_LifeCam_Cinema_WebCam_For.html
0,000488281250
0,000976562500
0,00195312500
0,00390625000
0,00781250000
0,0156250000
0,0312500000
0,0625000000
0,125000000
0,250000000
0,500000000
1,00000000
2,00000000
05-07-2018 04:40 PM
Ah, you're seeing the attributes set temporarily when using the IMAQdx property node. This is expected behavior, as the attributes will be set back to the default value after the session to the camera has been closed. To make permanent attribute changes, please see the KnowledgeBase below.
Why Does Setting My Camera Attributes Programmatically Not Permanently Change the Attributes?: http://digital.ni.com/public.nsf/allkb/09794AF61D4CE35286256DBA0075150A?OpenDocument
Hope this helps.
Angela L.
National Instruments
05-07-2018 04:57 PM
Hi Angela
My problem is not as mentioned here. I changed the programatically to 0.00781250000 degrees exprosure. At that time the brightness adjustment was 80 and the image developed in the darkness level of ortation. But when the same exposure value is stored, and the brightness setting is raised by one unit, the image becomes obviously bright. I would like you to review the sample code.
05-07-2018 05:13 PM
Hi Angela
Can you look at images
05-07-2018 05:17 PM
05-08-2018 05:56 PM
Do you see this same behavior if you try adjusting brightness settings using the camera manufacturer's software? Because the attribute and value ranges are defined by the manufacter's software, we don't have much control over the camera's behavior beyond accessing and setting the attribute.
Angela L.
National Instruments
05-11-2018 07:49 AM
05-14-2018 05:30 AM