Add new comment

User defined custom white balance

I am processing an image from an X-Trans sensor (not a normal CFA). If I set user_mul to {1.0, 1.0, 1.0, 1.0} shouldn't the code use these values as the WB co-efficients, or did I miss something else I need to set to make the code use a user defined WB?

Certainly the output image appears identical to the daylight WB case.