Closed euwern closed 5 years ago
Hi, it is better to ask these CAMELYON specific questions in the CAMELYON forum. Could you post an image of the tif you obtain via the conversion of the XML? You can either open the mask image in ASAP or use matplotlib and imshow to show a low-resolution version. Note that the TIFF file will be binary (e.g. the max value will be 1, not every tumor annotation will get a separate label).
Hi @GeertLitjens I apologize for posting CAMELYON specific question in ASAP github. Thanks for mentioning. I think there is something wrong with the function provided by the evaluation script (I.e. the threshold and binary hole filling are messing with the tiff masks).
As suggested, I generated a preview of the tiff mask and it looks correct. This shows that there is nothing wrong with ASAP. (attached image).
Thanks for your debugging tips.
i have the same question with you,do you have the solution to this problem?
Where is the Camelyon forum?
I am facing some problem with the annotation of CAMELYON16 test data. I use the code provided to generate annotation mask but when I try to count the number of tumors inside the mask, it returns only 1 or 0. which is wrong as the xml file has more than 1 tumor. For example: test_030.xml has 76 tumors annotation but the generated mask tif file returns 1 tumor. I provided a sample of my code to recreate the problem.
Can someone help me to identify the problem?
convert xml to tif
evaluation mask