Layer data model and separating data source/views #3459
Replies: 3 comments 4 replies
-
However, given the breadth of topics here, we also want to initially focus on a more specific issue around separating a layer's data source and views/slices of that data, so that we can make some tangible progress. We chose this issue for a few reasons.
This more specific issue is likely not going to focus on the data structures used to store data and the potential APIs around dimension names, order, types, and units (i.e. these will likely be the same as they are now in napari). But any design decisions should aim to keep those ideas in mind. The initial plan is to start a design document to form some coherent ideas around the following.
That document will be completely open for collaboration, so we'll share it here when it's created and has taken some initial form. |
Beta Was this translation helpful? Give feedback.
-
I'll pitch my vision for the future, so we can see what people agree on and maybe have a clearer picture of where our choices will lead us :) What I imagine interacting with a datasource/layer model is something like this:
|
Beta Was this translation helpful? Give feedback.
-
Edit: I realized after posting this, that this should perhaps be in an entirely new discussion? If that's the case, let me know and I'll remove this post and create a new discussion. 🙂 Allow me to preface this by saying I literally only discovered napari this morning, so I'm still familiarizing myself with it, but the project is very intriguing! I apologize in advance if this has been addressed elsewhere. I was a bit unsure of exactly where to post this, but ultimately I decided this discussion was perhaps the most appropriate. I was wondering about using napari as an interface for viewing and annotating DICOM images. Specifically CT and/or MRI images, with annotations primarily to use the images as training sets for machine learning. Having a tool integrated in a jupyter script that could run natively in the process would be an insane improvement to the current workflow (or lack thereof), and the user interface of napari seems pretty sound.
|
Beta Was this translation helpful? Give feedback.
-
In the architecture working group meetings we've been discussing napari's layer data model over the last few weeks. By taking a look through our issues, that's not a new topic of discussion and it covers a wide range of topics/problems. I found the following issues, but I'm sure I missed some.
add_
methods #2246I'm opened this so that others can contribute to that discussion, provide examples of problems and desired usage, and come up with ideas that could help.
Beta Was this translation helpful? Give feedback.
All reactions