Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

PrintROI

Print an already drawn region of interest


Description

This function allows to re-draw one (or more) region(s) of interest (ROI) on a jpeg image.

Usage

PrintROI(path_img_ref,path_ROIs,which='all',col, file.type='.jpg')

Arguments

path_img_ref

Path in your folder for the reference image

path_ROIs

Path where ROI coordinates are stored in a structured list called ROI.Rdata.

which

Which one of your ROIs you want to draw, defaults to ''all' and draws all rois.

col

A character vector with colors. If missing it defaults to color palette

file.type

It must match the syntax of your file extension (e.g. .jpg, .JPG, .JPEG). Multiple types are allowed by concatenation with c().

Details

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.

Value

It returns a plot that can be saved with your favorite device.

Author(s)

Gianluca Filippa <g.filippa@arpa.vda.it>


phenopix

Process Digital Images of a Vegetation Cover

v2.4.2
GPL-2
Authors
Gianluca Filippa, Edoardo Cremonese, Mirco Migliavacca, Marta Galvagno, Matthias Folker, Andrew D. Richardson, Enrico Tomelleri
Initial release
2020-09-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.