Is there a c++ API based on raspiraw?
Posted: Fri Oct 26, 2018 3:00 pm
Currently, I am using raspicam c++ API, would love to be able to get the raw image instead. However, all the hardware stuff are a bit hard to follow.
A small, affordable computer with free resources to help people learn, make things, and have fun
https://www.raspberrypi.org/forums/
https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=225593
Well I am interested in the data before gamma correction (as it seems to be the case). From all the searching there's seems no other way than getting the image directly from the camera board but before GPU processing. So that makes the raspiraw the only way, or is there a way to get the gamma profile?6by9 wrote: ↑Fri Oct 26, 2018 3:15 pmWhat do you define as raw? Bayer, YUV, RGB, or something else? Some people don't understand the difference.
Raspicam should be able to deliver you YUV or RGB.
Bayer is generally a right pain in the neck to deal with. The only access to the Bayer data as a video stream is through raspiraw, and that is the only app I'm aware of. It's also provided as an example only - please note the huge disclaimers about not being able to offer support on the sensor register sets.
Pretty much.njsss wrote: ↑Fri Oct 26, 2018 3:41 pmWell I am interested in the data before gamma correction (as it seems to be the case). From all the searching there's seems no other way than getting the image directly from the camera board but before GPU processing. So that makes the raspiraw the only way, or is there a way to get the gamma profile?
Thank you for pointing out, I didn't know that. So just set MMAL_PARAMETER_DIGITAL_GAIN to 1? I'll give it a try.6by9 wrote: ↑Fri Oct 26, 2018 3:46 pmYou can disable the gamma block (see viewtopic.php?f=43&t=175711), but I doubt you'll get the results you want.