Skip to content
Snippets Groups Projects
Commit 6076f7d4 authored by Andrey Aristov's avatar Andrey Aristov
Browse files

add lut limits

parent 6430b1fc
No related branches found
No related tags found
No related merge requests found
......@@ -57,13 +57,19 @@ def read_zarr(path):
datasets = [dask.array.from_zarr(p) for p in dataset_paths]
except Exception as e:
raise e
try:
contrast_limits = info["lut"]
except KeyError:
contrast_limits = None
return [
(
datasets,
{
"channel_axis": channel_axis,
"colormap": ["gray", "inferno"],
"contrast_limits": [(0, 65000), (0, 6000)],
# "colormap": ["gray", "inferno"],
"contrast_limits": contrast_limits,
},
"image",
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment