GEE使用表达式完成波段运算

更新时间:2023-07-04 14:10:38 阅读: 评论:0

喝完酒几个小时可以开车
The image from which the right operand bands are taken.
Returns: Image
完成第⼀个对象与输⼊参数的乘法,如果两个影像都只有⼀个波段,则都执⾏乘法,若有相同波段数量,但是波段名称不同,则按照波段顺序依次相乘。输出波段按照输⼊波段名称长的来命名,按照影像1的顺序。
this,影像1,⼀个影像对象帕加尼价格
影像2,⽤作系数的影像
2. 增强植被指数计算
⾃定义表达式
Evaluates an arithmetic expression on an image, possibly involving additional images.
The bands of the primary input image are available using the built-in function b(), as b(0) or b('band_
律诗绝句
name').
Variables in the expression are interpreted as additional image parameters which must be supplied in opt_map. The bands of each such image can be accesd like image.band_name or image[0].
Both b() and image[] allow multiple arguments, to specify multiple bands, such as b(1, 'name', 3). Calling b() with no arguments, or using a variable by itlf, returns all bands of the image.
Returns the image computed by the provided expression.
Arguments:
this:image (Image):
The Image instance.
expression (String):
The expression to evaluate.
祝福结婚的句子
map (Dictionary<Image>, optional):
A map of input images available by name.
Returns: Image
实现影像按照⾃定义的数学表达式波段运算功能,也可使⽤额外影像。使⽤b()来表⽰输⼊的影像,b(0),或者b(波段名称)来指定波段,必须在运⾏时指定,也可以使⽤image.波段名,image[0]来指定。⼆者都可以使⽤多参数来实现指定多个波段,b()表⽰所有波段。
本例中的表达式是2.5(nir-red)/(nir+6red -7.5*blue+1),红,绿,蓝波段在该MODIS数据中分别是1,2,3波段。
波段选择
img.lect()
用英语怎么骂人Selects bands from an image.
Returns an image with the lected bands.
Arguments:
this:image (Image):
The Image instance.
var_args (VarArgs<Object>):面部疼痛
画春节
One of two possibilities:
如何清理运行内存Any number of non-list arguments. All of the will be interpreted as band lectors. The can be band names, regexes, or numeric indices. E.g. lected = image.lect('a', 'b', 3, 'd');
Two lists. The first will be ud as band lectors and the cond as new names for the lected bands. The number of new names must match the number of lected bands. E.g. lected = image.lect(['a', 4], ['newA', 'newB']);
Returns: Image
从⼀个影像中选择指定波段。输⼊⼀个影像对象,选择波段顺序或者波段名称。也可以指定别名。

本文发布于:2023-07-04 14:10:38,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1078026.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:波段   影像   小时   名称   指定
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图