TheImagingSource / tiscamera

The Linux SDK for The Imaging Source cameras.
https://www.theimagingsource.com
Apache License 2.0
299 stars 148 forks source link

Reading Whitebalance values after One-Push Whitebalance #517

Closed elRadish closed 7 months ago

elRadish commented 1 year ago

I'm still on TisCamera 0.14, Linux 18.04 on Jetson Nano.

I’m trying to do a one-push Whitebalance and read back the White Balance values for red, green and blue to save them permanently.

But I can’t figure out how to do this. In IC Capture on Windows, the current values are displayed in the device properties, but when I read them back with Tis.Get_Property("Whitebalance Blue").value, it doesn’t change, only, when I set it manually.

Is this possible with TisCamera 0.14?

TIS-Stefan commented 1 year ago

Hello

Are you sure, you mean one push auto-focus, not one push Whitebalance?

Stefan

elRadish commented 1 year ago

Oops, no, of course one-push-whitebalance. Thanks! Edited the inital post.

TIS-Stefan commented 1 year ago

If you run the white balance one push in your Linux software, does the live video change to white balanced images?

(I ask so many questions, because we ended the support for tiscamera 0.14, since we use 1.1 by now.)

Stefan

elRadish commented 1 year ago

Yes, it does, but the Properties keep the same. The same happens in tcam-capture - it doesn't update the manual values which would be pretty useful: My guess is that the values are read from the image metadata instead of the camera properties?

I'll try to migrate to 1.1 asap!

TIS-Stefan commented 1 year ago

I just tried with a camera, that does not have white balance automatic in firmware. I disabled the white balance automatic, set red, blue and green slider to some random values. Then white balance automatic was enabled and I was able to see the updated values for red, blue and green. The image meta data do not contain any property values. They contain frame numbers and time stamps only. Did you hit the "update" Button in tcam-capture?

Stefan

TIS-Edgar commented 7 months ago

Closed due to inactivity.