HealthBioscienceIDEAS / microscopy-novice

https://healthbioscienceideas.github.io/microscopy-novice/
Other
1 stars 0 forks source link

Collect example data #5

Closed K-Meech closed 7 months ago

K-Meech commented 10 months ago

Definition of Done

Collect example data for the different episodes e.g.

Smaller datasets could be placed directly in the repo or uploaded to Figshare / Zenodo for download e.g. the data carpentry image processing lesson stores example data in figshare

K-Meech commented 10 months ago

I looked through the example data that comes with napari. These images can easily be loaded via the user interface using File > Open Sample... They are the same example images as scikit-image's data

The most relevant ones are:

Some quick screenshots: Screenshot 2023-11-03 145850

davecash75 commented 10 months ago

HI @K-Meech what formats are these in? Or are they directly loaded into napari using the skimage commands?

K-Meech commented 10 months ago

@davecash75 These are loaded directly into napari via the user interface (which I believe uses skimage commands in the background) - so they just appear as numpy arrays, rather than images in specific file formats. These are nice for showing imaging basics, but we'd need other examples to show real metadata + file formats. We could consider looking on BioImage Archive if we needed more example data from real experiments: https://www.ebi.ac.uk/bioimage-archive/

K-Meech commented 10 months ago

QuPath has some small example pathology images available for download: https://qupath.readthedocs.io/en/stable/docs/intro/acknowledgements.html

davecash75 commented 10 months ago

What about Omero's sample data: https://downloads.openmicroscopy.org/images/

p-j-smith commented 10 months ago

Here's another list of potential resources: https://github.com/AllenCellModeling/aicsimageio/discussions/544#discussioncomment-7568092

MonikaSvata commented 10 months ago

Waiting for Nick to send example data.

davecash75 commented 9 months ago

Nic has sent some over and @K-Meech has access.

MonikaSvata commented 9 months ago

Dave to get back to Nic requesting more info about the data and see if he has smaller data sets.

davecash75 commented 8 months ago

One thing that is a bit unfortunate @K-Meech @drmatthews @dpshelio is that when I tried opening up the Zeiss CZI file that Nic provided (about 400MB), I get some GL_TEXTURE warnings saying the data size is bigger than the GL Texture mapping limits on my laptop (16484) and there is some downsampling performed. However, Fiji opens this file up with no problem and lots more extensive support and options on how to import this data. On the other hand, I didn't know what half of these options mean - I would expect I would need an episode on what that one dialog box itself means. Much less how to navigate the images in Fiji

davecash75 commented 8 months ago

Actually the confocal file 63x zstack LSMplus.czi opens up in my Napari and looks quite nice, save for the metadata, which doesn't show up in the OME plugin, and on the terminal it spits out the following errors

SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/ome_types/_mixins/_base_type.py:100: UserWarning: Casting invalid DichroicID 'Beamsplitter.2412-349' to 'Dichroic:0'!
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/ome_types/_mixins/_base_type.py:100: UserWarning: Casting invalid DichroicID 'Beamsplitter.2412-356' to 'Dichroic:1'!
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/ome_types/_mixins/_base_type.py:100: UserWarning: Casting invalid DichroicID 'SecondaryBeamsplitter.2415-596' to 'Dichroic:2'!
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/xsdata/formats/converter.py:85: ConverterWarning: Failed to convert value `` to one of (<class 'float'>,)!
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/ome_types/_mixins/_base_type.py:100: UserWarning: Casting invalid LightSourceID 'MTBLKM980LaserLine488' to 'LightSource:0'!
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/ome_types/_mixins/_base_type.py:100: UserWarning: Casting invalid DichroicID 'Beamsplitter.2412-349' to 'Dichroic:3'!
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/ome_types/_mixins/_base_type.py:100: UserWarning: Casting invalid DichroicID 'Beamsplitter.2412-356' to 'Dichroic:4'!
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/ome_types/_mixins/_base_type.py:100: UserWarning: Casting invalid DichroicID 'SecondaryBeamsplitter.2415-596' to 'Dichroic:5'!
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/xsdata/formats/converter.py:85: ConverterWarning: Failed to convert value `` to one of (<class 'float'>,)!
/Users/davecash/anaconda3/envs/napari-env/lib/python3.9/site-packages/ome_types/_mixins/_base_type.py:100: UserWarning: Casting invalid LightSourceID 'MTBLKM980LaserLine488' to 'LightSource:1'!
K-Meech commented 8 months ago

@davecash75 - yes Fiji currently has much better bioformats support than napari + handles a much wider range of file formats. I've made sure to mention Fiji in the filetypes/metadata episode, as it's often the best option to open these proprietary file formats!

According to the napari-aicsimageio docs, it has pretty strict limits on which images it will load at full size. Only those less than 4GB total size and less than 30% of total memory. This is a shame if you're using a workstation that could handle much larger images directly!

MonikaSvata commented 7 months ago

Decision made to used one of the Napari images.

@K-Meech to add notes about limitations - after this it can be closed.

K-Meech commented 7 months ago

I added a note about the file size limitations of napari-aicsimageio to the 'filetypes and metadata' episode. I'll close this issue now.