reduceRegion(reducer, geometry, scale, crs, crsTransform, bestEffort, maxPixels, tileScale)
Apply a reducer to all the pixels in a specific region.
Either the reducer must have the same number of inputs as the input image has bands, or it must have a single input and will be repeated for each band.
Returns a dictionary of the reducer's outputs.
对一个特定区域的所有像素应用一个还原器。
减速器的输入数必须与输入图像的波段数相同,或者它必须有一个输入,并对每个波段进行重复。
返回还原器的输出的字典。
Arguments:
this:image (Image):
The image to reduce.
reducer (R