要使输入中的任意波段最大化,请使用 imageCollection.qualityMosaic()
. 该qualityMosaic()
方法根据集合中哪个图像具有指定波段的最大值来设置合成中的每个像素。例如,以下代码演示了如何制作最绿色的像素组合和最近的值组合:
qualityMosaic(qualityBand)
合成集合中的所有图像,使用质量波段(这里指的就是你要进行最大值合成的波段)作为每像素排序函数。
Composites all the images in a collection, using a quality band as a per-pixel ordering function.
Arguments:
this:collection (ImageCollection):
The collection to mosaic.
qualityBand (String):
The name of the quality band in the collection.
Returns: Image
有云情况下的影像
ndvi最大值合成后的假彩色效果
system:time