如何进行计算归一化标准化波段,很多时候我们只知道归一化多波段遥感影像,也就是归一化植被指数等操作,因为有现成的函数,但是我们在没有影像单一波段的归一化操作的标准函数,这里我们可以参考以下函数进行分析,归一化所有影像波段。
ee.Reducer.minMax()
Returns a Reducer that computes the minimum and maximum of its inputs.
No arguments.
Returns: Reducer
bandNames()
Returns a list containing the names of the bands of an image.
Arguments:
this:image (Image):
The image from which to get band names.
Returns: List
unitScale(low, high)
Scales the input so that the range of input values [low, high] becomes [0, 1]. Values outside the range are NOT clamped. This algorithm always produces floating point pixels.
缩放输入,使输入值的范围 [low, high] 变为 [0, 1]。 范围外的值不会被限制。 该算法总是产生浮点像素。