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

Use bioformats2raw to convert zarr images to ome-zarr #100

Open
manzt opened this issue Jun 4, 2020 · 0 comments
Open

Use bioformats2raw to convert zarr images to ome-zarr #100

manzt opened this issue Jun 4, 2020 · 0 comments

Comments

@manzt
Copy link
Member

manzt commented Jun 4, 2020

Now that we can support the outputs of bioformats2raw, we should use that tool to generate our zarr-based image pyramids. However, bioformats does not create the omero metadata which we'd like to use to specify how to render our images. They've put a lot of thought into what this information should look like, and I think we should replicate for our purposes. We can include this both in the source itself for zarr as well as in the image metadata in raster.json.

https://github.com/ome/omero-ms-zarr/blob/master/spec.md

"id": 1,                              # ID in OMERO
"name": "example.tif",                # Name as shown in the UI
"channels": [                         # Array matching the c dimension size
    {
        "active": true,
        "coefficient": 1,
        "color": "0000FF",
        "family": "linear",
        "inverted": false,
        "label": "LaminB1",
        "window": {
            "end": 1500,
            "max": 65535,
            "min": 0,
            "start": 0
        }
    }
],
"rdefs": {
    "defaultT": 0,                    # First timepoint to show the user
    "defaultZ": 118,                  # First Z section to show the user
    "model": "color"                  # "color" or "greyscale"
}

@manzt manzt changed the title Use convert zarr images to ome-zarr Use bioformats2raw to convert zarr images to ome-zarr Jun 11, 2020
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

No branches or pull requests

1 participant