How to use Reducer function in Google Earth Engine
HTML-код
- Опубликовано: 25 авг 2024
- In Tutorial i will present, how to use reducer function in google earth engine
Reducers are the way to aggregate data over time, space, bands, arrays and other data structures in Earth Engine. The ee.Reducer class specifies how data is aggregated. The reducers in this class can specify a simple statistic to use for the aggregation (e.g. minimum, maximum, mean, median, standard deviation, etc.), or a more complex summary of the input data (e.g. histogram, linear regression, list). #Reductions may occur over time #(imageCollection.reduce()), space #(image.reduceRegion(), image.reduceNeighborhood()), bands #(image.reduce()), or the attribute space of a FeatureCollection (featureCollection.reduceColumns() or FeatureCollection methods that start with aggregate_).
Reducers take an input dataset and produce a single output. When a single input reducer is applied to a multi-band image, Earth Engine automatically replicates the reducer and applies it separately to each band. As a result, the output image has the same number of bands as the input image; each band in the output is the reduction of pixels from the corresponding band in the input data. Some reducers take tuples of input datasets. These reducers will not be automatically replicated for each band. For example, #ee.Reducer.LinearRegression() takes multiple predictor datasets (representing independent variables in the regression) in a particular order (see Regression reducers).
Some reducers produce multiple outputs, for example #ee.Reducer.minMax(), #ee.Reducer.histogram() or #ee.Reducer.toList().
#gee
#ndvi
#gis
#remotesensing
#reducer
#reducersingee