How to guide: Annotation tool (ROI)

How to guide: Annotation tool (ROI)


Purpose of tool


Select regions of interest (ROIs) in images.

How to draw ROIs

  • To begin drawing an ROI, click on one of the three green button depending on the shape you would like to draw. 


  • For the polygon:

    • Click on the image, if possible around the edge of a region that needs to be annotated. The annotator will drop a point (vertex) at that position. 

    • Add more points by clicking all the edges of the ROI you would like to mark. 

    • Each point can be dragged by doing a long click and moving at the same time

    • Doing a right click on a point will delete it 

  • For the circle: 

    • The first click will position the center of the circle

    • The second click will position the outer line of the circle 

  • For the rectangle 

    • The first click will position one corner of the rectangle

    • The second click will position the opposite corner of the rectangle

    • Rectangle can be dragged by doing a long click and moving at the same time 

  • To select multiple ROIs in the same image, click on the add ROI button again and follow the same procedure as before.

  • Previously drawn ROIs can be edited by selecting their corresponding Edit nodes button.

  • An ROI can be removed by clicking on the delete icon shown next to that ROI.


Saving the results

Once the ROIs have been selected, the coordinates of the bounding regions can be saved on the cloud (CODI) or to the local computer in a JSON file by clicking on the save button on the top right of the right hand panel. Below is the JSON representation of the two ROIs shown above.