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
975 stars 329 forks source link

The problem of uniform magnification #211

Closed LiuJin629 closed 4 months ago

LiuJin629 commented 8 months ago

I think there are two problems with using CLAM to cut images: the first is how to directly scale WSI with different magnifications into WSI with a specified magnification (for example, directly modifying a similar "target_magnification" parameter to achieve this), and the second is how to use . Only the WSI of svs can be used (I cannot accurately identify the organization area using the WSI in ndpi format).

scjjb commented 7 months ago

Instead of target magnification, CLAM uses "custom_downsample". This requires you to know your standard magnification, but then this can be used to downsample to any smaller magnification (i.e. if your slides are 40x and you want 5x, set custom_downsample to 8).

I don't know about ndpi as I've only used .svs files.

LiuJin629 commented 7 months ago

@scjjb Thank you for your answer!