Hi Aaron,

you can convert the raw files to the DNG format and correct the whitebalance using PiDNG (github.com/schoolpost/PiDNG) Maybe the easiest solution.
Here you can find the necessary CCM matrix for conversion: git.linuxtv.org/libcamera.git/tree/src/i...ypi/data/imx477.json if you want to program it into your code.

Markus

Read More...