Commit graph

268 commits

Author SHA1 Message Date
jaknapper
0bc6e45df9 Picamera test 2026-03-16 16:33:07 +00:00
jaknapper
a11d46777f Only drop frames when setting min exposure time 2026-03-16 15:01:10 +00:00
Joe Knapper
3b84c266b4 Apply suggestions from code review of branch exposure-test
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2026-03-16 14:31:21 +00:00
jaknapper
ae04f3b133 Drop frame drop to 2 2026-03-13 13:22:56 +00:00
jaknapper
a4aac53072 Flush more frames and use a request when doing exposure time 2026-03-13 10:48:22 +00:00
Joe Knapper
25c733a0c3 Apply suggestions from code review of branch check-setting-validation
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-07 18:14:22 +00:00
Joe Knapper
c9cc4e8468 Apply suggestions from code review of branch check-setting-validation
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-07 18:14:22 +00:00
Joe Knapper
99b9b0f3d6 Add limits to noise level, sample density and downsample 2026-03-07 18:14:22 +00:00
Joe Knapper
06f12973f4 Add limits to background detect and settling time settings 2026-03-07 18:14:22 +00:00
Joe Knapper
84f3032022 Update docstrings to explain lower brightness 2026-03-04 20:52:49 +00:00
jaknapper
e324014a81 Increase target exposure to 40% 2026-03-04 20:52:49 +00:00
Joe Knapper
75ca73f148 Decrease target brightness for both cameras as its pre-gamma 2026-03-04 20:52:49 +00:00
Julian Stirling
7e4ec53d78 Update how the application configuration is read for LabThings 0.0.17 2026-03-04 17:22:03 +00:00
jaknapper
7ca94497c7 Remove link from basecamera docstring 2026-03-03 15:32:59 +00:00
jaknapper
3020ab59f4 Fix typing for gamma_curve 2026-03-03 14:21:28 +00:00
jaknapper
b716013ef2 Fixed tuning file gamma key to gamma_curve 2026-03-03 14:03:17 +00:00
jaknapper
0173cf912f Add gamma_curve to metadata 2026-03-03 13:59:43 +00:00
Joe Knapper
5019884175 Camera metadata includes subclass name, and test 2026-03-03 13:23:30 +00:00
Julian Stirling
e443b1ac5b Merge branch 'more-dev-docs' into 'v3'
More developer documnetation

See merge request openflexure/openflexure-microscope-server!513
2026-03-02 13:36:18 +00:00
Julian Stirling
ae8285ed28 Merge branch 'opencv-camera-switcher' into 'v3'
Add functionality to switch OpenCV camera without restarting the server.

See merge request openflexure/openflexure-microscope-server!487
2026-03-02 13:25:12 +00:00
Joe Knapper
61e4c8d8d7 Apply suggestions from code review of branch opencv-camera-switcher
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-02 12:34:06 +00:00
Julian Stirling
2fee313d42 Apply suggestions from code review of branch opencv-camera-switcher 2026-03-02 11:24:32 +00:00
Julian Stirling
9e48f13d6f Apply suggestions from code review of branch opencv-camera-switcher
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-03-02 11:02:35 +00:00
Julian Stirling
bc36a1e9d0 Create a developer guidance section for the hosted docs 2026-03-01 12:15:36 +00:00
Julian Stirling
efad4631fb Tweak types 2026-02-26 15:46:40 +00:00
Julian Stirling
f551fd5f28 Use cv2_enumerate_cameras by default if installed for naming openCV cameras 2026-02-26 14:53:20 +00:00
williamwadsworth
40f970130f human readable opencv camera names in windows 2026-02-26 14:02:03 +00:00
williamwadsworth
c9117b62a0 camera switching for opencv camera
From discussion with @julianstirling
2026-02-26 12:48:55 +00:00
Julian Stirling
2ae4f832bf Simplify setting model validation 2026-02-25 19:15:59 +00:00
Joe Knapper
63338f8ea0 From feedback 2026-02-25 19:15:59 +00:00
Joe Knapper
43fa793698 Apply suggestions from code review of branch scan-params
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-02-25 19:15:59 +00:00
jaknapper
b211cfd4c5 Validate and test stack inputs
Update picamera hardware test
2026-02-25 19:15:56 +00:00
Joe Knapper
37e3450670 Move CaptureParams into camera from autofocus 2026-02-25 19:14:15 +00:00
Julian Stirling
b1d84492cc Set OpenCV backend when switching cameras. 2026-02-24 18:21:43 +00:00
Julian Stirling
095988838b Use dropdown for selecting camera (OpenCV camera) 2026-02-19 17:17:28 +00:00
Julian Stirling
a22bf2b711 OpenCV camera: Fix startup behaviour loading camera from settings. 2026-02-19 17:17:18 +00:00
Julian Stirling
8ab85e2d7f Update docstring for OpenCV camera 2026-02-19 16:48:35 +00:00
Julian Stirling
4dfb252439 Add functionality to switch OpenCV camera without restarting the server. 2026-02-19 16:46:41 +00:00
Julian Stirling
eb21ca9aef Apply suggestions from code review of branch simulator-zoom
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-02-19 10:37:57 +00:00
Julian Stirling
80c78fbc5e Refactor image simulation for speed 2026-02-18 20:20:00 +00:00
Joe Knapper
94a9c2be8f Use options argument in UI for objective 2026-02-18 16:59:29 +00:00
Joe Knapper
01012f52a3 Crop canvas based on objective property 2026-02-18 16:59:27 +00:00
Julian Stirling
752ef3a80c Reduce the blur for a given z movement in simulation, to improve autofocus. 2026-02-17 02:07:06 +00:00
Joe Knapper
bb5cce3d4e Only generate frame if LED is on 2026-02-12 13:54:12 +00:00
Joe Knapper
fdf33ce4a8 Apply suggestions from code review of branch flash-led-sim
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-02-12 13:48:12 +00:00
Joe Knapper
16458db85b Fix simulated imports 2026-02-11 10:26:04 +00:00
Joe Knapper
676d34842a Apply suggestions from code review of branch flash-led-sim
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-02-11 10:19:19 +00:00
Joe Knapper
4d788a2817 Remove flash from stage baseclass, add to sim config 2026-02-10 22:19:49 +00:00
jaknapper
5682b4d28d Illumination Things for sangaboard and simulator 2026-02-10 18:42:59 +00:00
Joe Knapper
1de4366df7 Flash LED endpoint in simulator for parity 2026-02-10 15:59:18 +00:00