White Balance
-
I have a Starling 2 with an IMX412 Hi-Res sensor on it. Is there a way that I can set a fixed white balance for the sensor?
I can't seem to find any documentation anywhere that mentions white balance.
Thanks!
Hi @gitcoder ,
Good question...
You can lock the AWB (Auto White Balance) to a specific scenario / color temperature using the following options:
You need to replace AUTO to the desired color temperature:
https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/blob/master/src/hal3_camera_mgr.cpp#L530uint8_t awbMode = ANDROID_CONTROL_AWB_MODE_AUTO;(will consider to add this as an option to camera server)
I have not tested this in a while but i am pretty sure it works. Please let me know if it does not work. Is this sufficient for you or you want to fine tune each R, G, B channel and have those values fixed?
Alex
-
Hi @gitcoder ,
Good question...
You can lock the AWB (Auto White Balance) to a specific scenario / color temperature using the following options:
You need to replace AUTO to the desired color temperature:
https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/blob/master/src/hal3_camera_mgr.cpp#L530uint8_t awbMode = ANDROID_CONTROL_AWB_MODE_AUTO;(will consider to add this as an option to camera server)
I have not tested this in a while but i am pretty sure it works. Please let me know if it does not work. Is this sufficient for you or you want to fine tune each R, G, B channel and have those values fixed?
Alex
@Alex-Kushleyev Thanks for getting back to me. For what I am working on setting a fixed whitebalance seems like it would work, but I would at least find it useful if the white balance were tune-able. For my application I'm using the Modal drone for supervising Gaussian Splat training with an image stream, and color consistency across frames is important for good reconstruction otherwise I'll have to do color correction in the map which is a pain. Not sure if a lot of other people are using the HiRes for scene reconstructions so maybe its not universally useful though!
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login