Defense-Circuits-Lab / findmycells

An end-to-end bioimage analysis pipeline with state-of-the-art tools for non-coding experts
https://defense-circuits-lab.github.io/findmycells/
GNU General Public License v3.0
2 stars 1 forks source link

czi-file shape behaves differently across different imaging conditions #28

Closed KonKob closed 1 year ago

KonKob commented 1 year ago

Depending on whether you acquired czi-files with more than one z-plane, more than one channel, more than one image version and so on, the czifile module returns image data in different shape. Taking care of the different possibilities, can be achieved by the following solution (in case there are more conditions, that are not handled here, more elif loops can be added):

Solution: in readers/microscopy_images.py:

image