View source: R/explore_kmeans.R
explore_kmeans | R Documentation |
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
)
input_rast |
character. Path and name of the image to be processed. |
input_mask |
character. Path and name of the mask corresponding to the image |
SelectBands |
numeric. bands selected from input_rast |
nbClust_list |
numeric. number of clusters used in kmeans |
nbIter |
numeric. nb of iterations averaged to compute diversity indices |
maxPixel_kmeans |
numeric. max number of pixels to extract for kmeans |
algorithm |
character. algorithm used in the kmeans clustering |
nbCPU |
numeric. Number of CPUs available |
progressbar |
boolean. set true for progress bar during clustering |
Kmeans_info
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.