compute spectral species for a subset of pixels provided in a list, each element corresponding to a polygon

compute_spectral_species_FieldPlots(
  subset_Raster,
  List_FieldPlot,
  nb_partitions,
  Pix_Per_Partition,
  nbclusters,
  PC_Select = NULL,
  nbCPU = 1,
  progressbar = FALSE,
  algorithm = "Hartigan-Wong"
)

Arguments

subset_Raster

numeric. Subset of a raster file on which computation of spectral species sould be performed

List_FieldPlot

list. list of information from same file as subset, corresponding to field plots

nb_partitions

numeric. number of repetitions of kmeans

Pix_Per_Partition

numeric. number of pixels per partition

nbclusters

numeric. number of clusters / spectral species

PC_Select

numeric. selection of components from subset_Raster and List_FieldPlot on which spctral species are computed

nbCPU

numeric. number of CPU on which kmeans is computed

progressbar

boolean. should progress bar be displayed (set to TRUE only if no conflict of parallel process)

algorithm

character. algorithm used in the kmeans clustering

Value

list. vector_coordinates and vector_ID for each element in the vector file