公告:凡是在
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 峰值寬度比例。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]