R/Lib_MapSpectralSpecies.R
map_spectral_species.Rd
maps spectral species based on PCA file computed previously
map_spectral_species(
Input_Image_File,
Output_Dir,
SpectralSpace_Output,
Input_Mask_File = FALSE,
nbclusters = 50,
nbCPU = 1,
MaxRAM = 0.25,
Kmeans_Only = FALSE,
SelectedPCs = FALSE,
SpectralFilter = NULL,
Kmeans_info_path = NULL,
Kmeans_info = NULL,
algorithm = "Hartigan-Wong",
progressbar = FALSE
)
character. Path of the image to be processed
character. Path for output directory
list. list of variables produced from function perform_PCA
character. Path of the mask corresponding to the image
numeric. number of clusters defined in k-Means
numeric. Number of CPUs to use in parallel.
numeric. MaxRAM maximum size of chunk in GB to limit RAM allocation when reading image file.
boolean. set to TRUE if computation of kmeans without production of spectral species map
numeric. Define PCs to be selected. Set to FALSE if you want to use the "Selected_Components.txt" file
list. information about spectral band location
character. path to a Kmeans_info Rdata file computed from previous process
list. Kmeans_info list computed from previous process (central wavelength), bands to keep...
character. algorithm used in the kmeans clustering
boolean. should progress bar be displayed (set to TRUE only if no conflict of parallel process)
Kmeans_info