公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Image.rsedTransform
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
反向平方欧氏距离 (RSED) 可计算出通过在输入图片的每个非零像素上放置一个倒置抛物线而创建的 2D 最大高度表面,其中像素的值是抛物线的高度。如果将此函数视为二元图像函数(零/非零),则相当于按像素值(取平方根)对每个非零输入像素进行缓冲。
用法 | 返回 |
---|
Image.rsedTransform(neighborhood, units) | 图片 |
参数 | 类型 | 详细信息 |
---|
此:image | 图片 | 输入图片。 |
neighborhood | 整数,默认值:256 | 邻域大小(以像素为单位)。 |
units | 字符串,默认值:“pixels” | 邻域的单位,目前仅支持“像素”。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eRSED generates a height map by placing inverted parabolas over each non-zero pixel in an image, with parabola height corresponding to pixel value.\u003c/p\u003e\n"],["\u003cp\u003eThis transformation effectively buffers non-zero pixels by the square root of their value, creating a smoothed, expanded representation of the original image.\u003c/p\u003e\n"],["\u003cp\u003eIt's implemented through the \u003ccode\u003ersedTransform\u003c/code\u003e method with adjustable neighborhood size, impacting the extent of buffering.\u003c/p\u003e\n"]]],["Reverse Squared Euclidean Distance (RSED) creates a 2D surface by placing inverted parabolas over non-zero pixels in an image, with pixel values determining parabola heights. It's analogous to buffering each non-zero pixel by the square root of its value. The `Image.rsedTransform` function takes an input image and computes the RSED transform. The function requires `neighborhood` size in pixels (default 256) and supports `\"pixels\"` as `units`. It returns the transformed `Image`.\n"],null,["# ee.Image.rsedTransform\n\nReverse Squared Euclidean Distance (RSED) computes the 2D maximal height surface created by placing an inverted parabola over each non-zero pixel of the input image, where the pixel's value is the height of the parabola. Viewed as a binary image (zero/not-zero) this is equivalent to buffering each non-zero input pixel by the square root of its value, in pixels.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------|---------|\n| Image.rsedTransform`(`*neighborhood* `, `*units*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|---------------------------|-----------------------------------------------------------------------|\n| this: `image` | Image | The input image. |\n| `neighborhood` | Integer, default: 256 | Neighborhood size in pixels. |\n| `units` | String, default: \"pixels\" | The units of the neighborhood, currently only 'pixels' are supported. |"]]