Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Brightness setting problem After exposure setting

Solved!
Go to solution

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?

0 Kudos
Message 1 of 10
(4,093 Views)
Solution
Accepted by topic author himes

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

0 Kudos
Message 2 of 10
(4,066 Views)
Solution
Accepted by topic author himes

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

 

 

0 Kudos
Message 3 of 10
(4,060 Views)
Solution
Accepted by topic author himes

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

0 Kudos
Message 4 of 10
(4,056 Views)
Solution
Accepted by topic author himes

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.

0 Kudos
Message 5 of 10
(4,052 Views)
Solution
Accepted by topic author himes

Hi Angela

 

Can you look at images

0 Kudos
Message 6 of 10
(4,047 Views)
Solution
Accepted by topic author himes
0 Kudos
Message 7 of 10
(4,046 Views)
Solution
Accepted by topic author himes

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

0 Kudos
Message 8 of 10
(4,023 Views)
Solution
Accepted by topic author himes
Hi Angela Yes I observe the same reaction. But I have created a different solution. After I set the values, I raise the setting by one unit and take it back to its old position. I use the Vision RGB setting for the remaining settings. The images look the same. Thank you for your support.
0 Kudos
Message 9 of 10
(3,982 Views)
Solution
Accepted by topic author himes
Hi, great you found a solution. Just as an information for people who are looking for information later on: Most likely, this has little to do with the camera, but more with the way NI Vision (especially the Express vi) does properties. I have attached a pdf that discusses exactly this problem (p2, in the middle), which is very familiar to me :-) Cheers, Birgit
0 Kudos
Message 10 of 10
(3,962 Views)