Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify masks? #281

Closed
mguzm4n opened this issue Nov 10, 2024 · 1 comment
Closed

Specify masks? #281

mguzm4n opened this issue Nov 10, 2024 · 1 comment

Comments

@mguzm4n
Copy link

mguzm4n commented Nov 10, 2024

Hey everyone! Is it possible to specify the mask for each slide for extracting patches? I wrote my own little program to crop my slides but it is too slow, and CLAM tool is really fast, but I got already detailed masks generated on my own that I'd like to use.

@BioCoderR
Copy link

Refer to this issue #104 where the author had issue where he wanted to use a segmentation from different masks like you. So this was solved and updated the code line you can refer to: https://github.com/KarthikNair1/CLAM/blob/314cda7bafc68bf26394e6ad4fadd0b859d860dd/wsi_core/WholeSlideImage.py#L419

@mguzm4n mguzm4n closed this as completed Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants