You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wanting to use SlidingPatchWSIDataset to extract patches from my whole slide images during inference (patch size 224x224, overlap 0.25).
However, I also require the WSI to be masked so as to remove the unwanted background patches from analysis. Is there any way to incorporate the two?
I am using Otsu's thresholding method to create my tissue mask at an MPP of 16 (currently save in both numpy file and geoPandas df as a polygon), and am wanting my patches to be extracted at mpp of 1.008 (level 0). How do I use this mask in my dataset?
These two classes look very useful but I cannot find any examples of their usage online.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am wanting to use SlidingPatchWSIDataset to extract patches from my whole slide images during inference (patch size 224x224, overlap 0.25).
However, I also require the WSI to be masked so as to remove the unwanted background patches from analysis. Is there any way to incorporate the two?
I am using Otsu's thresholding method to create my tissue mask at an MPP of 16 (currently save in both numpy file and geoPandas df as a polygon), and am wanting my patches to be extracted at mpp of 1.008 (level 0). How do I use this mask in my dataset?
These two classes look very useful but I cannot find any examples of their usage online.
Beta Was this translation helpful? Give feedback.
All reactions