rapidsai / cucim

cuCIM - RAPIDS GPU-accelerated image processing library
https://docs.rapids.ai/api/cucim/stable/
Apache License 2.0
356 stars 61 forks source link

[FEA] Support BioFormats library through cuCIM #91

Open gigony opened 3 years ago

gigony commented 3 years ago

Is your feature request related to a problem? Please describe.

We would like to start thinking about supporting BioFormats.

Bioformats is a pathway to access so many formats that we'll never want to implement ourselves.

Even if it's in Java, may as well find a way to hook into it as an option. There are way too many formats that we will have a hard time supporting. Bioformats handles lots of them, including proprietary ones.

Describe the solution you'd like TBD

Describe alternatives you've considered

We can make it easy to load various microscopy image formats while we support the formats in an optimized way.

One concern is that for such adaptation layer (plugin) without optimization, there is already a solution in Python so doing it in cuCIM could be a duplicated effort:

Do we also want to provide such integration without optimization?

Additional context N/A

JoOkuma commented 3 years ago

Hi Gigon,

There are also some effort within the python microscopy community to move towards zarr arrays for acessing large images.

It would be great to have a faster interface (maybe using pinned memory) to communicate with zarr arrays and their chunks.

Dask, Open Microscopy Environment (OME) and Napari already support it.

Let me know if this should be it's own issue or if it should directed to the cupy repository.

gigony commented 3 years ago

Hi @JoOkuma ,

Thank you for your feedback! We are also aware that supporting NGFF would be a future-proof feature to have and would like to focus on such formats after supporting major digital pathology formats (including .svs format). link.

I have created the issue to support Zarr format (https://github.com/rapidsai/cucim/issues/94), please give us your feedback. Thank you!

joshmoore commented 3 years ago

General :thumbsup:  and a few comments:

~Josh   @ome