Hello, @ysbecca . First of all, thanks for your great works.
I have a question regard to calculating the number of total patches.
For understanding, I pasted my results as below.
======================================================
Total WSI images: 1
File names: ['01_01_0088.svs']
Setting patch size 256 and tile size 256
Level count: 17
Level tiles: ((1, 1), (1, 1), (1, 1), (1, 1), (1, 1), (1, 1), (1, 1), (1, 1), (1, 1), (2, 2), (4, 3), (7, 6), (14, 11), (27, 22), (53, 43), (105, 86), (210, 172))
Level dimensions: ((1, 1), (2, 2), (4, 3), (7, 6), (14, 11), (27, 22), (53, 43), (105, 86), (210, 172), (420, 344), (840, 687), (1680, 1374), (3360, 2747), (6720, 5493), (13440, 10986), (26879, 21971), (53757, 43941))
Patch size: 256
01_01_0088.svs
============ Patches Dataset Stats ===========
Total patches sampled: 130
Patches saved to: /data/JHS/paip_2019/Phase1/py_wsi/0088/
Patches saved with prefix: patch_db
Time usage: 0:00:15
I set the level as 12. As I understand, 'Total patches sampled' should be 42(=7*6), because the dimension of 12th level tiles is [7 by 6]. However, the number of total patches is 130.
I want to know the exact process to calculate the number of patches.
Thank you.