Skip to content
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

Allow individual label images to be converted #135

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

melissalinkert
Copy link
Member

This loosens some of the restrictions on the Zarr hierarchy, and adds a -f option so that metadata can be copied from an existing image file.

I'd expect raw2ometiff input.zarr/0/labels/abc_mask/ mask.ome.tiff -f /path/to/original/image/file to be the pattern to use here, which would convert a single label image to a single OME-TIFF. If there are multiple label images under input.zarr/0/labels/, they would each need to be converted separately. The use of -f means that input.zarr/OME/METADATA.ome.xml does not need to exist (and in fact, would be ignored if it did).

Fake data can easily be used to test the -f option. If any of the XYZCT dimensions are incorrect, an informative exception should be thrown.

Assigning just @erindiel for now to make sure the required functionality has been captured correctly; can assign code reviewers afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant