Dear all,
I would like to analyze in detail how JPEG compression is implemented on a Canon camera. So far I read that Canon cameras use a dedicated hardware ASIC called JPCORE for JPEG encoding. Since it is difficult to analyze the hardware, I wonder whether it is possible to instrument the camera for JPEG compression and analyze the resulting JPEG images to controlled variations of the input.
For this purpose, I would like to inject image data before JPEG compression. A related thread describes how to access and modify image data [1]. As far as I understand, however, the solution presented there is about modifying the RAW sensor data before any in-camera processing is applied. By contrast, I would like to control the image data after the usual in-camera processing (demosaicking, whitebalancing, gamma correction, etc.) and just before the final JPEG compression. Is there a hook to modify the image data at this point?
[1]
https://chdk.setepontos.com/index.php?topic=13461.msg137491#msg137491