GMM
clustering of image imported as a RasterStack.GMM
clustering of image imported as a RasterStack.
GMMImage(image, k = 5, maskToNA = NULL, kmeansOnAll = FALSE)
List including the clustered RasterSatck
returned as an array and object
of class "GMM
".
Image imported as a RasterStack for clustering.
Integer for number of k clusters (default = 3).
Replace the color value used for masking (i.e. 0 or 255) with NA.
Whether to perform the kmeans clusters on the combined set of pixels of all images first (default = FALSE).