This function allows to re-draw one (or more) region(s) of interest (ROI) on a jpeg image.
PrintROI(path_img_ref,path_ROIs,which='all',col, file.type='.jpg')
It returns a plot that can be saved with your favorite device.
Path in your folder for the reference image
Path where ROI coordinates are stored in a structured list called ROI.Rdata.
Which one of your ROIs you want to draw, defaults to `'all' and draws all rois.
A character vector with colors. If missing it defaults to color palette
It must match the syntax of your file extension (e.g. .jpg, .JPG, .JPEG). Multiple types are allowed by concatenation with c().
Gianluca Filippa <g.filippa@arpa.vda.it>
This utility allows to draw your ROIs on your reference image, with different colors for different ROIS and
a dedicated legend
See DrawROI
for details.