公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Image.hersImage
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
计算两张图片中每个波段中每对像素的直方图误差环统计信息 (HERS)。系统仅会返回可计算 HERS 的频段。
用法 | 返回 |
---|
Image.hersImage(image2, radius, buckets, peakWidthScale) | 图片 |
参数 | 类型 | 详细信息 |
---|
此:image | 图片 | 输入图片。 |
image2 | 图片 | 要比较的图片。 |
radius | 整数 | 窗口的半径。 |
buckets | 整数,默认值:100 | HERS 桶的数量。 |
peakWidthScale | 浮点数,默认值:1 | HERS 峰值宽度缩放比例。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eComputes the Histogram Error Ring Statistic (HERS) to compare two images, analyzing pixel similarity within a specified radius.\u003c/p\u003e\n"],["\u003cp\u003eReturns an image containing HERS values for each pixel pair in corresponding bands of the input images, limited to bands where calculation is successful.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the analysis using parameters like radius, the number of HERS buckets, and a peak width scale for fine-tuning the comparison.\u003c/p\u003e\n"]]],[],null,["# ee.Image.hersImage\n\nComputes the Histogram Error Ring Statistic (HERS) for each pair of pixels in each band present in both images. Only the bands for which HERS could be computed are returned.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------|---------|\n| Image.hersImage`(image2, radius, `*buckets* `, `*peakWidthScale*`)` | Image |\n\n| Argument | Type | Details |\n|------------------|-----------------------|-----------------------------|\n| this: `image` | Image | The input image. |\n| `image2` | Image | The image to compare. |\n| `radius` | Integer | The radius of the window. |\n| `buckets` | Integer, default: 100 | The number of HERS buckets. |\n| `peakWidthScale` | Float, default: 1 | The HERS peak width scale. |"]]