mahmoodlab / CLAM

Data-efficient and weakly supervised computational pathology on whole slide images - Nature Biomedical Engineering
http://clam.mahmoodlab.org
GNU General Public License v3.0
1.02k stars 340 forks source link

patches are different color from slide #164

Closed fnurkinali closed 1 year ago

fnurkinali commented 1 year ago

Hello!

When I patch pathology slides including light blue tissues, the generated patches appear darker and RGB values are different, how can I prevent this?

Thank you

fedshyvana commented 1 year ago

Hi, I don't this should happen and i'm unaware of any potential issues that could cause this. CLAM simply uses openslide and the .read_region method to fetch tiles from the WSI. If you suspect that openslide is causing some weird issue you should report it to the openslide repo.