公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Image.rgb
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
创建专门用于可视化的 3 波段图像。这会使用每个图片中的第一个波段。
返回合并后的图片。
用法 | 返回 |
---|
ee.Image.rgb(r, g, b) | 图片 |
参数 | 类型 | 详细信息 |
---|
r | 图片 | 红色图片。 |
g | 图片 | 绿色图片。 |
b | 图片 | 蓝色图片。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eCreates a 3-band image for visualization purposes using the first band of each input image.\u003c/p\u003e\n"],["\u003cp\u003eReturns the combined 3-band image, effectively creating a color image from three separate input images.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eee.Image.rgb(r, g, b)\u003c/code\u003e function where 'r', 'g', and 'b' represent the red, green, and blue bands respectively.\u003c/p\u003e\n"]]],["The core content details how to create a 3-band image for visualization by combining three individual images into red, green, and blue channels. The `ee.Image.rgb(r, g, b)` function takes three Image arguments (`r`, `g`, `b`) representing the red, green, and blue bands, respectively. The function then uses the first band of each of these input images and returns a single, combined 3-band Image object.\n"],null,["# ee.Image.rgb\n\n\u003cbr /\u003e\n\nCreate a 3-band image specifically for visualization. This uses the first band in each image.\n\n\u003cbr /\u003e\n\nReturns the combined image.\n\n| Usage | Returns |\n|-------------------------|---------|\n| `ee.Image.rgb(r, g, b)` | Image |\n\n| Argument | Type | Details |\n|----------|-------|------------------|\n| `r` | Image | The red image. |\n| `g` | Image | The green image. |\n| `b` | Image | The blue image. |"]]