ee.Feature.hersDescriptor
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tworzy słownik tablic deskryptorów statystyki pierścienia błędu histogramu (HERS) na podstawie właściwości tablicy kwadratowej elementu. Promień HERS jest przyjmowany jako (długość_boku – 1) / 2.
Wykorzystanie | Zwroty |
---|
Feature.hersDescriptor(selectors, buckets, peakWidthScale) | Słownik |
Argument | Typ | Szczegóły |
---|
to: element | Element | Element z właściwościami tablicy. |
selectors | Lista, domyślna: null | Właściwości tablicy, dla których zostaną utworzone deskryptory. Wybrane właściwości tablicy muszą być kwadratowymi tablicami zmiennoprzecinkowymi. Domyślnie są to wszystkie właściwości tablicy. |
buckets | Liczba całkowita, domyślnie: 100 | Liczba zasobników HERS. Domyślna wartość to 100. |
peakWidthScale | Liczba zmiennoprzecinkowa, domyślnie: 1 | Skala szerokości szczytu HERS. Domyślna wartość to 1,0. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eGenerates Histogram of Error Ring Statistics (HERS) descriptors for square array properties of an element, using the array's radius as (side length - 1) / 2.\u003c/p\u003e\n"],["\u003cp\u003eDescriptors can be customized by selecting specific array properties, defining the number of HERS buckets, and adjusting the peak width scale.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns a dictionary containing the calculated HERS descriptors for the specified or default array properties.\u003c/p\u003e\n"],["\u003cp\u003eInput requires an element with square, floating-point array properties, and optional parameters for property selection, bucket count, and peak width scaling.\u003c/p\u003e\n"]]],[],null,["# ee.Feature.hersDescriptor\n\nCreates a dictionary of Histogram Error Ring Statistic (HERS) descriptor arrays from square array properties of an element. The HERS radius is taken to be the array's (side_length - 1) / 2.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------|------------|\n| Feature.hersDescriptor`(`*selectors* `, `*buckets* `, `*peakWidthScale*`)` | Dictionary |\n\n| Argument | Type | Details |\n|------------------|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `element` | Element | The element with array properties. |\n| `selectors` | List, default: null | The array properties for which descriptors will be created. Selected array properties must be square, floating point arrays. Defaults to all array properties. |\n| `buckets` | Integer, default: 100 | The number of HERS buckets. Defaults to 100. |\n| `peakWidthScale` | Float, default: 1 | The HERS peak width scale. Defaults to 1.0. |"]]