Let’s say I want to get all the annotations inside a region for example, the point ,ellipse and polyline in the below region (rectangle).
Assuming all the elements are inside one new Annotation.
This is what this annotation would look like
rectangle, // This would be the roi
The problem is,
- How would we identify that which is the ROI if there are multiple ROIs for one WSI ?
- After identifying the ROI, how do we know what annotations are present inside that ROI ?
- If I assume that when I create a new annotation, one of the element is the ROI and all of the other elements are inside the ROI. What if there are multiple rectangles?
( we could iterate all the elements for the type rectangle and find the one with max height and width but, laborious )
What is the best way to handle region based annotations ?
Any suggestions would be greatly appreciated!