map_spectral_species: maps spectral species based on PCA file computed previously

Description Usage Arguments Value

View source: R/Lib_MapSpectralSpecies.R

Description

maps spectral species based on PCA file computed previously

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
map_spectral_species(
  Input_Image_File,
  Output_Dir,
  PCA_Files,
  PCA_model,
  SpectralFilter,
  Input_Mask_File,
  Pix_Per_Partition,
  nb_partitions,
  Continuum_Removal = TRUE,
  TypePCA = "SPCA",
  nbclusters = 50,
  nbCPU = 1,
  MaxRAM = FALSE,
  Kmeans_Only = FALSE,
  SelectedPCs = FALSE
)

Arguments

Input_Image_File

character. Path of the image to be processed

Output_Dir

character. Path for output directory

PCA_Files

character. Path of the PCA image

PCA_model

list. Parameters for teh PCA model to be applied on original image

SpectralFilter

list. information about spectral band location (central wavelength), bands to keep...

Input_Mask_File

character. Path of the mask corresponding to the image

Pix_Per_Partition

numeric. number of pixels for each partition

nb_partitions

numeric. number of partition

Continuum_Removal

boolean. Set to TRUE if continuum removal should be applied

TypePCA

character. Type of PCA: choose either "PCA" or "SPCA"

nbclusters

numeric. number of clusters defined in k-Means

nbCPU

numeric. Number of CPUs to use in parallel.

MaxRAM

numeric. MaxRAM maximum size of chunk in GB to limit RAM allocation when reading image file.

Kmeans_Only

boolean. set to TRUE if computation of kmeans without production of spectral species map

SelectedPCs

numeric. Define PCs to be selected. Set to FALSE if you want to use the "Selected_Components.txt" file

Value

None


floriandeboissieu/biodivMapR documentation built on March 11, 2021, 8:46 a.m.