openflexure-microscope-server/openflexure_microscope/api/default_extensions/picamera_autocalibrate
Richard Bowman 5527c4eb7b Fix auto-exposure and AWB
The previous "auto calibrate" button for the camera relied on a
combination of the built-in autoexposure/AWB and
some JPEG-based tweaks to get the exposure settings right.
This often led to confusing results, e.g. oscillating between green and
 pink images.

 I have rewritten the auto-exposure code to adjust gain and shutter
 speed based on the raw image.  This seems to be
 very reliable, at the expense of being quite slow.  That's a price I'm
 happy to pay.

 I have replaced both the camera's auto white balance and my
 JPEG-based AWB hack with a single-shot AWB method that
 looks at the raw image.
2021-02-11 14:30:20 +00:00
..
__init__.py Updated default extensions to subclass structure 2020-11-30 16:41:39 +00:00
extension.py Fix auto-exposure and AWB 2021-02-11 14:30:20 +00:00
recalibrate_utils.py Fix auto-exposure and AWB 2021-02-11 14:30:20 +00:00