Add new comment

Trying to derive linear image from NEF, how do I use cam_mul?

I am trying to derive a linear image from a D7000 NEF 14-bit. I need both color and gray. I am using opencv cv::cvtColor(rawMat, debayeredMat, cv::COLOR_BayerBG2BGR) to convert to RGB CV_16UC3 (3 component ushort).
I believe I need to use cam_mul to get proper wb.

I am getting these values for cam_mul
cam_mul[0] = 486
cam_mul[1] = 256
cam_mul[2] = 371
cam_mul[3] = 256

I am not sure how to use these values to get anything sensible.

Thanks for any help you can provide!

Forums: