Dear Snowcats,
I made a notebook to show you how to use a sliding window approach with overlap using the wholeslidedata package.
In this example, I used a sliding window of 256x256 and a patch size of 512x512 so that the overlap would be 256x256. I also added comments in the config file. I hope this helps to understand better what is going on. In any case, this is one of the more complex features of wholeslidedata. So please let me know if anything is unclear.
The example will show how to create a batch iterator that produces tiles in a sliding windows fashion with overlap. However, please note that the ASAP software requires the restriction of tiles having to be a multiple of 16. So even with this sliding window approach, your tiles should be a multiple of 16. Furthermore, you can only write at multiples of the tile size, i.e., if your tile size is 256x256 and you would write to 257,257, it will clip to 256x256.
Best wishes,
Mart