labsyspharm / scimap

Spatial Single-Cell Analysis Toolkit
https://scimap.xyz/
MIT License
71 stars 24 forks source link

Napari automatically downsamples image when using sm.pl.gate_finder() #79

Open MargotCh opened 10 months ago

MargotCh commented 10 months ago

Dear all,

I am wondering if there is a way load my image with sm.pl.gate_finder() without napari automatically downscaling it when the image is bigger than the maximum texture size of my graphic card allows?

When using napari manually I can use the multiscale functionality like this:

img = io.imread('your_tif.tif') viewer = napari.Viewer() viewer.add_image([img, img[::2,::2]])

as described by @melonora here: Napari does not display full resolution

Is it possible to use a similar approach within the scimap function?

Thanks for your help! Margot

melonora commented 10 months ago

Within napari we are looking to fix this. But the solution in the post could be quickly implemented for now. Let me know if you would like some more information

ajitjohnson commented 8 months ago

I apologize for missing this issue. For some reason, I have not been receiving notifications for the issues raised in this channel. Does the issue still persist, and would you need help? Thank you.

melonora commented 8 months ago

I think the issue would still be persisting as the issue is not fixed in the current versions of napari yet. I will pick it up for version 0.5.0, but we are in the release stage of 0.4.19 currently.