| patGMM | R Documentation | 
Extract colors using GMM clustering (for pre-aligned images).
patGMM(
  sampleList,
  k = 3,
  resampleFactor = NULL,
  maskOutline = NULL,
  plot = FALSE,
  focal = FALSE,
  sigma = 3,
  maskToNA = NULL,
  kmeansOnAll = FALSE
)
| sampleList | List of RasterStack objects. | 
| k | Integere for defining number of clusters (default = 3). | 
| resampleFactor | Integer for downsampling used by  | 
| maskOutline | When outline is specified, everything outside of the outline will be masked for the color extraction (default = NULL). | 
| plot | Whether to plot transformed color patterns while processing (default = FALSE). | 
| focal | Whether to perform Gaussian blurring (default = FALSE). | 
| sigma | Size of sigma for Gaussian blurring (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 of summed raster for each k-means cluster objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.