openflexure-microscope-server/openflexure_microscope
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
..
api Fix auto-exposure and AWB 2021-02-11 14:30:20 +00:00
camera Watch for broken frames using JPEG end bytes, and log error 2020-12-08 18:07:05 +00:00
captures Static type analysis 2020-11-30 13:36:45 +00:00
devel Removed old JSONResponse class 2020-11-12 13:50:48 +00:00
rescue Removed unused import 2021-01-07 10:09:43 +00:00
stage Fix #194 2020-12-14 15:00:37 +00:00
__init__.py Started basic rescue script 2020-03-03 16:13:21 +00:00
config.py Reverted logging style 2020-11-12 15:45:58 +00:00
json.py Static type analysis 2020-11-30 13:36:45 +00:00
microscope.py Allow MissingStage to be explicitly selected 2021-02-04 20:31:20 +00:00
paths.py Static type analysis 2020-11-30 13:36:45 +00:00
utilities.py 2.9 dev numpy types 2020-12-04 13:35:11 +00:00