mahmoodlab / CLAM

Open source tools for computational pathology - Nature BME
http://clam.mahmoodlab.org
GNU General Public License v3.0
1.14k stars 366 forks source link

Heatmap greyscale issue #60

Closed andymckenzie closed 3 years ago

andymckenzie commented 3 years ago

Hello and thank you for making this extremely helpful method.

I am trying to use your code to generate attention heatmaps. I have noticed that the generated images have a rectangular part of the image blocked off as greyscale. I would like to get rid of this. I'm not sure if this is a parameter that can be adjusted in the .yaml file or if something else is causing it. Could you please provide any guidance on how to address this issue?

greyscale_clam
fedshyvana commented 3 years ago

i believe this is a known bug of certain version of the pixman library used by openslide so it's not something that you can do to fix in CLAM or python. See the last section of https://github.com/mahmoodlab/CLAM/blob/master/docs/INSTALLATION.md for the issue and https://github.com/mahmoodlab/CLAM/issues/13 for discussion and possible solutions.