ee.Image.cluster

Applies a clusterer to an image. Returns a new image with a single band containing values from 0 to N, indicating the cluster each pixel is assigned to.
Usage Returns
Image. cluster (clusterer, outputName ) Image
Argument Type Details
this: image
Image The image to cluster. Must contain all the bands in the clusterer's schema.
clusterer
Clusterer The clusterer to use.
outputName
String, default: "cluster" The name of the output band.
Create a Mobile Website
View Site in Mobile | Classic
Share by: