How to estimate and apply color correction matrix using a 24 block color card?

后端 未结 2 731
无人及你
无人及你 2021-01-16 02:10

I have a 24 block color card and I\'m trying to estimate a color correction matrix to the captured images with the said color card. I have manually estimated a CCM

2条回答
  •  臣服心动
    2021-01-16 02:44

    The RGB samples used in the optimization should be linear. Undo gamma correction first by calling rgb2lin on the image.

    You will also need to apply the CCM on linear RGB values. So undo the gamma correction in your image with rgb2lin, apply the CCM, and then re-apply gamma correction with lin2rgb.

提交回复
热议问题