fractal-analytics-platform / fractal-tasks-core

Main tasks for the Fractal analytics platform
https://fractal-analytics-platform.github.io/fractal-tasks-core/
BSD 3-Clause "New" or "Revised" License
14 stars 6 forks source link

[napari-workflows] Mixed 2D/3D workflows #186

Open tcompa opened 2 years ago

tcompa commented 2 years ago

(branching from https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/149#issuecomment-1305550136)

Placeholder issue for this use case:

This would mean that a workflow either works on 2D image/label arrays, or on 3D image/label arrays

Hmm, a bit of a tricky question. expected_dimensions is only used for inputs at the moment, right? In our current setup, we have 2D Zarrs & 3D Zarrs and we'd never mix them. We want to eventually move to a point where we can e.g. use a 2D organoid segmentation to get the ROI for an organoid in x & y, then do 3D cell segmentation within that. In that case, we may need to load the 2D label image and the 3D intensity image. But maybe we also switch this to a way where we just load ROI information? Not fully sure yet.

To be understood: is there a single napari workflow that works both with 2D and 3D objects? Or are they two different workflows?

jluethi commented 2 years ago

Let's see whether the limitation of workflows being 2D or 3D comes up once we have MIPs in the same Zarr file and workflows that use both parts. May not actually come up, let's see

jluethi commented 11 months ago

We're not planning to add this functionality to napari workflows. But interesting in flexibility discussions on whether mixed 2D & 3D workflows should be more easily accessible in the future