I want to perform the color calibration of my camera. That's why I search demosaic algorithm, which can provide the closest color to color of a real object. That's why I want:
- create synthetic images in OpenCV with known colors
- mosaic it
- pass it in an algorithm for estimation of efficiency
I use libraw for unpacking raw images and OpenCV for processing and storing them.
So, the question is, is there a library that can provide me different demosaic algorithms(i am ready to convert my synthetic image from Mat to C-style array) where I can pass my mosaic image and receive demosaic image. I think that it is possible to convert my image from tiff to dng and use RawTherapee for demosaicing, but it looks more complicated.