Open mrahimpour opened 1 year ago
We are working on a new design for engines in #578. For now you can look at scale_factor while converting the annotations https://github.com/TissueImageAnalytics/tiatoolbox/blob/336d5e53a3f597125a442e5d6a3148944eca1e60/tiatoolbox/utils/misc.py#L894
Partially fixed in #777
Description
I am using the tiatoolbox to implement the automatic tumor contouring pipeline for lung H&E images. The pipeline includes the following steps:
When merging the predictions, in some cases, the patches are not located at the right coordinate and they are clearly shifted. Also, in very few cases, coordinated_list and predicted_patches have different sizes. I was wondering if you faced this issue before or have any idea why this issue is happening.
Here is the code I use for prediction merging: