Description Usage Arguments Value
This function allows to carry out an eigenanalysis of given webcam data and a supervised classification of DOYs with respect to seasons. Example code can be downloaded at http://bothmann.userweb.mwn.de/dissertation.html.
1 2 3 4 5 6 7 8 9 10 11 12 | sup_class(folder_results = paste0(getwd(), "/"),
folder_data = paste0(getwd(), "/"),
name_of_analysis = substr(as.character(Sys.time()), 1, 10),
lists_files = lists_files, do_eigenanalysis = TRUE,
do_classification = TRUE, do_classification_newyear = FALSE,
do_masking = FALSE, load_eigen = FALSE, show_eigen = FALSE,
varimax_rotation = FALSE, sum1 = FALSE, norm_it = TRUE,
norm_type = "mean0", colorspace = "rgb", total_var = TRUE,
col_in = 1:3, colormode = "Color", filename_mask = NULL,
pfad_eigen = NULL, fact = NULL, x = NULL, y = NULL, training_year,
test_year, season_list, n_pc = 12, year, doy, complete_year = TRUE,
n_images_try = 10, seasons_newyear, mask = NULL)
|
folder_results |
Folder where the results will be saved |
folder_data |
Folder where the data is saved |
name_of_analysis |
Name of the specific analysis for a unique folder |
lists_files |
Vector of file names of images |
do_eigenanalysis |
If |
do_classification |
If |
do_classification_newyear |
If |
do_masking |
If |
load_eigen |
If |
show_eigen |
If |
varimax_rotation |
If |
sum1 |
If |
norm_it |
If |
norm_type |
Type of norming |
colorspace |
Color space (rgb, hsv, etc.) |
total_var |
If |
col_in |
Color channels to be read in, default |
colormode |
The color mode |
filename_mask |
File name of mask / ROI |
pfad_eigen |
Path of results of eigenanalysis to be loaded |
fact |
Weighting factor for sum and diff of mean and eigenimages,
default is |
x |
vector of x-coordinates of analyzed pixels |
y |
vector of y-coordinates of analyzed pixels |
training_year |
The training year |
test_year |
The test year |
season_list |
List specifying the true seasons |
n_pc |
Number of principal components / eigenimages |
year |
Vector of year for each image |
doy |
Vector of DOYs for each image |
complete_year |
If |
n_images_try |
See complete_year |
seasons_newyear |
Vector with true seasons of the test year |
mask |
Do not edit, mask is loaded, if needed |
An entire supervised classification analysis is carried out. All results are saved on the disc, the necessary folders are created.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.