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