thor.pl.annotate_ROI
- thor.pl.annotate_ROI(im, ROI_polygon=None, baseline_polygon=None, lw=3)
Annotate the ROI and baseline on the image.
- Parameters:
im (2D array) – The image to be annotated.
ROI_polygon (shapely.geometry.Polygon) – The ROI polygon.
baseline_polygon (shapely.geometry.Polygon) – The baseline polygon.
lw (int) – The line width of the annotation.