mesoSPIM / mesoSPIM-control

Image acquisition software for mesoSPIM light-sheet microscopes.
http://www.mesospim.org
GNU General Public License v3.0
35 stars 11 forks source link

Write image size to raw data text file #24

Closed raacampbell closed 4 years ago

raacampbell commented 5 years ago

In order read the raw file we need to know the number of pixel rows and columns in a frame. Right now I think all rigs have cameras that are 2048 x 2048 but in future people might use different cameras. It's useful to have this parameter logged so future raw file readers (like the one I'm writing now!) will definitely open the images correctly.

ffvoigt commented 5 years ago

Thanks for your work on Matlab imports! I've updated the mesoSPIM_Core to add this information to the metadata (commit d5ef8c), it looks like this:

[CAMERA PARAMETERS] [camera_type] HamamatsuOrcaFlash [camera_exposure] 0.02 [camera_line_interval] 7.5e-05 [x_pixels] 2048 [x_pixels] 2048

raacampbell commented 5 years ago

Is that a typo? x_pixels appears twice. EDIT - never mind I will sort it

raacampbell commented 5 years ago

Pull request https://github.com/mesoSPIM/mesoSPIM-control/pull/25 corrects this and also corrects another typo I noticed.

BTW do you also want lines 2 and 3 of the meta-data? The information is repeated lower down anyway.