公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Image.rgbToHsv
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
将图片从 RGB 色彩空间转换为 HSV 色彩空间。需要一个范围为 [0, 1] 的 3 波段图像,并生成 3 个波段:色调、饱和度和值,这些波段的值范围为 [0, 1]。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eTransforms an image from RGB (Red, Green, Blue) to HSV (Hue, Saturation, Value) color space.\u003c/p\u003e\n"],["\u003cp\u003eAccepts a 3-band RGB image with values between 0 and 1.\u003c/p\u003e\n"],["\u003cp\u003eOutputs a 3-band HSV image with hue, saturation, and value, also ranging from 0 to 1.\u003c/p\u003e\n"],["\u003cp\u003eCan be applied using the \u003ccode\u003eImage.rgbToHsv()\u003c/code\u003e method directly on an image.\u003c/p\u003e\n"]]],["Converts an image from the RGB to the HSV color space. The input image must have three bands with values between 0 and 1. The output is also a three-band image representing hue, saturation, and value, each with values between 0 and 1. The `rgbToHsv()` method is applied to an `image` object and returns the transformed `image`.\n"],null,["# ee.Image.rgbToHsv\n\nTransforms the image from the RGB color space to the HSV color space. Expects a 3-band image in the range \\[0, 1\\], and produces 3 bands: hue, saturation and value with values in the range \\[0, 1\\].\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------|---------|\n| Image.rgbToHsv`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|-------------------------|\n| this: `image` | Image | The image to transform. |"]]