Skip to content

Problem in reading contrast metadata #287

@YiftachDiv

Description

@YiftachDiv

Hi,
First of all thank you for developping this viewer, it really does a great job! I am using vizarr to visualize an ome-zarr file based on microscopy images. I tried to manually set the metadata so it will load with certain contrast settings, i.e. I changed the start and end parametrs of the channels in the .zattrs file of the field hierarchy:

"omero": {
"channels": [
{
"active": true,
"color": "FFFFFF",
"label": "50R50T Beamsplitter non polarizing 400-750",
"window": {
"end": 50,
"max": 255,
"min": 0,
"start": 0
}
},
{
"active": true,
"color": "00FF00",
"label": "GFP Filter Set",
"window": {
"end": 50,
"max": 255,
"min": 0,
"start": 0
}
}}

It seems like the contrast metadata is loaded well since the image is presented correctly with the right contrast settings, but the sliders don't get updated according to the start and end settings:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions