computationalpathologygroup / ASAP

Program for the analysis and visualization of whole-slide images in digital pathology
https://computationalpathologygroup.github.io/ASAP/
GNU General Public License v2.0
613 stars 164 forks source link

Generating the mask #184

Closed jmayank23 closed 2 years ago

jmayank23 commented 4 years ago

I am working with the CAMELYON16 dataset and tried generating the Binary Mask Files (Ground truths). I used this code, I am also attaching a snippet of the code below Screenshot 2020-09-02 at 7 13 39 PM

I was able to generate the mask file successfully tumor_002_mask.tif But when I was looking at its properties I noticed that it has 9 levels as compared to the original image tumor_002.tif, which has 10 levels. Screenshot 2020-09-02 at 7 14 45 PM Screenshot 2020-09-02 at 7 14 28 PM

What could be the reason for this?

GeertLitjens commented 2 years ago

ASAP writes until the level is smaller than 1024 in both dimensions and then stops