python-microscope / microscope

Python library for control of microscope devices, supporting hardware triggers and distribution of devices over the network for performance and flexibility.
https://www.python-microscope.org
GNU General Public License v3.0
69 stars 41 forks source link

Add pixel_size parameter to cameras and returned images. #152

Open iandobbie opened 4 years ago

iandobbie commented 4 years ago

I suggest that we add a pixel_size parameter to cameras and return the current value with every image. This helps in several ways

1) Binning can be properly dealt with on the camera side, the server need never explicitly know what binning is applied etc...

2) simulated mosaics can cope with changes in objective magnification

3) Servers will better be able to cope with multi-camera systems with different projected pixel sizes.

4) Images can be transferred with their own relevant meta-data.

This would require some changes to cockpit - see issue https://github.com/MicronOxford/cockpit/issues/629