Add new comment

1) Black should be subtracted

1) Black should be subtracted before demosaic
2) Look into convert_to_rgb code:
to get output matrix, the rgb_cam matrix is multiplied to color space matrix. The rgb_cam is produced by cam_xyz_coeff() call

-- Alex Tutubalin @LibRaw LLC