R/explore_kmeans.R
explore_kmeans.Rd
Compute kmeans from random subset of pixels extracted from an image and a list of values for k
explore_kmeans(
input_rast,
input_mask = NULL,
SelectBands = NULL,
nbClust_list = 50,
nbIter = 20,
maxPixel_kmeans = 1e+05,
algorithm = "Hartigan-Wong",
nbCPU = 1,
progressbar = F
)
character. Path and name of the image to be processed.
character. Path and name of the mask corresponding to the image
numeric. bands selected from input_rast
numeric. number of clusters used in kmeans
numeric. nb of iterations averaged to compute diversity indices
numeric. max number of pixels to extract for kmeans
character. algorithm used in the kmeans clustering
numeric. Number of CPUs available
boolean. set true for progress bar during clustering
Kmeans_info