Get RGB histogram statistics (not in LAB format!)

Yeah, it’s not exact. Note that the IDE is working off of a JPEG image. Do not expect to get exactly the same values. However, it should be good enough for whatever you need to do.

The OV* camera line isn’t really that high quality on the RGB parts. Also, remember the image is RGB565 so it’s +/-8 points is expected.