Stay organized with collectionsSave 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["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. |"]]