Mask overlap ¶
By: Andreas on Feb. 21, 2022, 11:21 p.m.
Hello,
While running some experiments, we came across some mask overlap (based on the polygons). When filling-in polygons some mask classes overlap due to a large polygon encompassing a bigger area. See example here: https://prnt.sc/yzv_eUrXKnEm (100B, middle ROI)
So we are wondering whether you have an automated rule to define the mask integer; other than estimating the smaller or polygons inside others and giving them a priority. When looping through the polygon objects it is unknown which one should go first and which one should overwrite the other.
For example, the "other" and "healthy glands" can be grouped into one class, for task 1, but in the example above (in the link) the invasive tumour contains areas marked as stroma. So in this case stroma should be prioritised. But it may be the case that in some cases stroma is the bigger polygon and some other class area is within. Do you perhaps have a solution for this already?