Applies Kmeans clustering to PCA image and writes spectral species map

apply_kmeans(
  PCA_Path,
  PC_Select,
  Input_Mask_File,
  Kmeans_info,
  Spectral_Species_Path,
  nbCPU = 1,
  MaxRAM = 0.25
)

Arguments

PCA_Path

path for the PCA image

PC_Select

PCs selected from PCA

Input_Mask_File

Path for the mask

Kmeans_info

information about kmeans computed in previous step

Spectral_Species_Path

path for spectral species file to be written

nbCPU

numeric. number of CPU to work with in multisession task

MaxRAM

numeric. size of image pieces to be read at once

Value

None