Open drbeh opened 2 years ago
Can we also build in the capability to extract patches at different zoom levels. That will be ideal.
@vikashg thanks for your input. We have recently addressed that in PR #4036, and now you should be able to pass level
argument to extract patches at that level.
Currently,
PatchWSIDataset
generates patches based on pre-defined locations. In digital pathology use cases, there is a need for generating such patches randomly from all over the whole slide image. This requirement is different than usingTileOnGrid
to generate such patches since this transform is operating on the image in the memory whileRandPatchWSIDataset
directly deal with whole slide images on the file system.