I would like to generate static images files from NGFF/SpatialData datasets and presets stored in their NGFF Omero metadata, so that one can preview datasets without opening them interactively in Napari.
This combines the idea that SpatialData's data model resembles Napari's, and that datasets can store visualization presets for a reasonable default visualization.
For this, we still need some basic rendering properties:
blending: additive | opaque…
Typically, images contain multiple channel, and their visualization is different depending on the microscopy illumination type. Several fluorescence channels can be visualized in a single image by additive blending. However, currently spatialdata-plot "overwrites" pixels of channels underneath.
color:
Napari allows to provide a color name for maximum intensity values and generates a corresponding color map.
contrast_limits (Napari) or window (Omero):
Typically, the value range of images can differ greatly, and in order to avoid reading all pixels to compute limits, Omero stores absolute limits in the metadata. However, spatialdata-plot currently supports only Matplotlib's relative limits pmin/pmax (as quantiles_for_norm).
I would like to generate static images files from NGFF/SpatialData datasets and presets stored in their NGFF Omero metadata, so that one can preview datasets without opening them interactively in Napari.
This combines the idea that SpatialData's data model resembles Napari's, and that datasets can store visualization presets for a reasonable default visualization.
For this, we still need some basic rendering properties:
blending:additive|opaque…Typically, images contain multiple channel, and their visualization is different depending on the microscopy illumination type. Several fluorescence channels can be visualized in a single image by additive blending. However, currently spatialdata-plot "overwrites" pixels of channels underneath.
color:Napari allows to provide a color name for maximum intensity values and generates a corresponding color map.
contrast_limits(Napari) orwindow(Omero):Typically, the value range of images can differ greatly, and in order to avoid reading all pixels to compute limits, Omero stores absolute limits in the metadata. However, spatialdata-plot currently supports only Matplotlib's relative limits
pmin/pmax(asquantiles_for_norm).