Dear all,
I am using Raspberry Pi 2 B, the Raspberry Camera Module and raspistill.
I would like to remove the red, the green and/or the blue from the preview and from the jpg pictures. For example, to watch a preview which only contains the information generated by the green and blue photodetectors of the CMOS.
For example, if I have a red object, a green object, a blue object and I remove the red information, I would like to see only the residual green and blue components of the red object both in preview and in the .jpg file, maybe just a dark blob if the object is only pure red.
I tried "-awb off -awbg <value, value>" and set low value for red and/or blue gains, but I think that red and blue objects where still visible, just changed to green.
Now I'm looking into the forums and into the soruce code of raspistill, MMAL, OpenMAX, etc, to see if there is a way to do this. For example how to say to the GPU to discard the red pixels while doing debayer, or to discard the red component when encoding the preview and the jpg file, etc.
I'll be also looking if there is a way to disable the red, the green and/or the blue when the preview and the pictures are shown on the monitor.
Could you possibly let me know if you have any suggestions?
Thank you in advance.
Regards.
Riccardo
