Hi, I have been trying to get raw image data from the camera on Android. By raw I mean, before it went through Bayer filtering and interpolation. Sadly, The standard Android camera API, doesn't support this need: I tried public final void takePicture (Camera.ShutterCallback shutter, Camera.PictureCallback raw, Camera.PictureCallback postview, Camera.PictureCallback jpeg) But, as seen in many other forums- the raw data returned to the "raw" callback is always null.
What I would like to have: 1. [ideally] is a video stream of raw frames before any kind of manipulation. 2. Less ideally, I can do with still images of the same kind. 3. I can also benefit from capturing the frames after Bayer filtering, but before interpolation.
How would you go about this kind of task? do you think it's even feasible within android, or maybe I have to resort to writing some native code? I have GalaxyS4, BTW.
Thank you very much, Erez