-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"standalone" label images #179
Comments
+1 to not using hierarchy to express a relationship like "raw data, segmented data". The space of dependencies between datasets is sufficiently big that we should be using metadata to express this, rather than directly nesting images inside each other. |
Yes, sometimes it feels like all these decisions about nesting, hierarchies, and collections are a mere artifact of starting from Zarr. Like, if we were to start from the question, "What should be the fundamental design principle for organizing image data?" we would not necessarily say nested hierarchies. I imagine a more natural fit would be something quite permissive, like (but NOT) the BagIt format, which could essentially mandate two things: a place for data, and a place for metadata. Regarding label images, it seems like all that's really needed is three things:
I spend a lot of my time with the DataCite schema, so I am reminded of a couple of interesting mechanisms there: relatedIdentifier and relationshipType to indicate how two items are related to one another, and relatedMetadataScheme to essentially nest one metadata schema within another. To adapt the latter to OME-NGFF would be a more breaking, but more impactful, change. I see two options:
If you couldn't tell, I am partial to option 2), but I am biased, being more of a librarian than a developer. |
If/when we decide that we want to identify a stand-alone image as a label, we should probably not use |
This issue has been mentioned on Image.sc Forum. There might be relevant details there: https://forum.image.sc/t/save-a-single-labels-dataset-into-an-ome-zarr/93505/18 |
In conversations elsewhere @sbesson says:
I agree that relaxing this constraint could be a good idea.
In my view, the spec currently uses the hierarchy (that
labels
belong in a child of amultiscales
), to communicate that labels are derived from, or correspond to a particular multiscales image. We might consider using coordinate systems to communicate this idea in the future after #138 is merged, and to reference related "raw" image data explicitly, once we decide how to encode references. See #144Related PRs by @virginiascarlett that started this conversation:
The text was updated successfully, but these errors were encountered: