I'm performing measurements using the picamera to test its sensor ov5647. But whenever I took images, it seemed there were adjustments. Gain, white balance and etc. Could I turn off all the adjustment function and just take raw image data? I know there is a bayer format, but I'm not sure if it is the data without adjusted.
Bayer format captures contain the data prior to almost the entire image processing pipeline (demosaic, auto-gain, auto-white-balance, lens-shading, denoise, etc. etc.). The one exception is flips; if you've set
hflip you need to account for the Bayer pattern being flipped accordingly, but that's it. Other than, it's the raw (10-bit) data straight from the sensor. See the bayer capture recipe for information on unpacking the 10-bit format and a rudimentary de-mosaic algorithm.