spatialdata icon indicating copy to clipboard operation
spatialdata copied to clipboard

Unknown normalization when rendering crops from spatial samples.

Open rushin682 opened this issue 1 year ago • 1 comments

Hi developers,

Thanks for the amazing framework. I am using the framework to extract non-linear features from image patches of visium samples. When performing some QC on the data, I noticed that the image renders of cropped patches have some sort of normalization which doesn't exist in the original image when loaded in QuPath or Openslide (https://openslide.org/api/python/).

Please find attached images. I tried to find the normalization function in the plot code, but without success.

Can you please help? Knowing what kind of normalization is used is crucial to minimise batch-effect in SOTA Histopathology analysis methods. If possible it would be great also to disable normalization by default since for different tissue images, the rendered normalizations shows vast differences in how the different stains are represented.

spatialdata-render openslide-patch

rushin682 avatar Apr 29 '24 10:04 rushin682