Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zhihang_D_
Beginner
34 Views

Can't change white balance value

Hi,

I try to read the white balance of my SR300 camera using the following code:

std::cout << device->QueryColorWhiteBalance() << std::endl;

However, I keep getting the same reading even though the white balance changes over time. I execute this line in the for loop for getting the raw data. I also try to set the white balance by using device->SetColorWhiteBalance(6400) after disabling auto white balance. Does anyone know what is happening here?

Thanks,

Z

0 Kudos
1 Reply
Peng_L_2
Beginner
34 Views

We encountered same issue here. If you change you environment lighting (effectively change the light temperature) and add lines of code in Raw Stream sample project to report current whitebalance every frame, you just got fixed color temperature which is definitely not right (you can actually see auto white balance taking effect).

Also manually set color exposure is not work as expected: when auto color exposure is on we get very bright color image even for exposure(-6). however when you turn off auto color exposure, even exposure(-5) will result in super dark color image.

Hope somebody could point out the right way to do whilebalance and exposure manually.

 

Thanks

0 Kudos