Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Image.hersImage
Stay organized with collections
Save and categorize content based on your preferences.
Computes 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.
Usage | Returns | Image.hersImage(image2, radius, buckets, peakWidthScale) | Image |
Argument | Type | Details | this: image | Image | The input image. |
image2 | Image | The image to compare. |
radius | Integer | The radius of the window. |
buckets | Integer, default: 100 | The number of HERS buckets. |
peakWidthScale | Float, default: 1 | The HERS peak width scale. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\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. |"]]