compute_greenness_time_series: Mask images and compute %greenness time series

Description Usage Arguments Value

Description

For given ROIs, the %greenness time series inside the ROIs is computed on doy level

Usage

1
2
3
4
compute_greenness_time_series(color = "green", x = NULL, y = NULL, folder,
  lists_files, which_images = seq_len(length(lists_files)), doy, path_base,
  name_of_analysis, main_plot, settings_mat, load_masks = FALSE,
  masks_list = NULL)

Arguments

color

Color to compute the %color time series. Default is "green"

x

Vector of x-coordinates to read in. Default NULL results in a grid of all possible values.

y

Vector of y-coordinates to read in. Default NULL results in a grid of all possible values.

folder

The folder which contains the images.

lists_files

A vector containing the names of all images inside folder to be read in.

which_images

An optional vector to select images from lists_files. Default is seq_len(length(lists_files))

doy

Vector of DOYs for each image

path_base

Base directory for saving the results

name_of_analysis

Name of the analysis (for file name of the results)

main_plot

Main for the plot

settings_mat

Matrix with all settings from find_clusters

load_masks

Boolean: Shall the masks be loaded from the disc? Otherwise, results from generate_masks can be given as masks_list

masks_list

A list containing the masks, possibly output from generate_masks

Value

A list containing the mean doy time series and settings


phenofun documentation built on Jan. 22, 2017, 9:01 p.m.