defines path for the spectral species raster file. Depends on preprocessing: - if standard dimensionality reduction (PCA, SPCA, MNF) was used, the corresponding directory is pointed - if no dimensionality reduction, or an alternative dimensionality reduction (spectral indices, tasseled cap... ) was used, user defined subdirectory is used - Diversity metrics can also be computed from a classification map

get_SSpath(Output_Dir, Input_Image_File, TypePCA, ClassifMap, nbclusters)

Arguments

Output_Dir

character. Output directory.

Input_Image_File

character. Path and name of the image to be processed.

TypePCA

character. Type of PCA (PCA, SPCA, NLPCA...).

ClassifMap

character. If FALSE, perform standard biodivMapR based on SpectralSpecies. else corresponds to path for a classification map.

nbclusters

numeric. number of clusters (possibly updated)

Value

list. includes Spectral_Species_Path