Closed bryanwong17 closed 1 month ago
@clemsgrs Hi, do you have any idea what might be causing the problem? Thanks in advance!
hi, given you set visu: true
in your config file, could you show me the results of patching for a slide where you have inconsistent distances between patches?
Hi @clemsgrs, I attached test_003 (Camelyon16) visualization using above configurations. As can be seen, there are 72576 and 72640 for the x coordinates (the distance should be every 512) ![test_003](
https://github.com/user-attachments/assets/41af07ca-4ea0-4a05-b45b-bcb4bb248d07)
That's expected: if you look at the corresponding tissue mask, you will see that multiple tissue blobs were detected. When such thing happens, each blob gets tiled independently. This can result in either slightly overlapping tiles, or tiles that are not strictly 512 distant. See attached zoom taken from your image.
Thanks for pointing out the problem! Do you think it would be fine if I extract it this way?
That's hard to say. In my opinion it's not an issue if it doesn't happen too often. You could try to tune the tissue segmentation parameters to get tissue masks with fewer "detached" blobs. Or provide pre-computed tissue masks too.
Alright, thanks for your opinion! I will close this for now. Thank you for helping!
Hi, I am trying to extract C16 raw patches using hs2p with below configurations:
I assumed that with this setting, the distance between pixels in patches would always be 512 in all WSIs. However, after checking the patching results, the distance between patches is not consistently 512; within a single WSI, the distance can vary between 512, 256, and 64. Could you provide tips on how to ensure that the distance between patches in all WSIs is consistently 512?