ee.Image.rsedTransform
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Odwrócona kwadratowa odległość euklidesowa (RSED) oblicza dwuwymiarową powierzchnię o maksymalnej wysokości utworzoną przez umieszczenie odwróconej paraboli nad każdym niezerowym pikselem obrazu wejściowego, gdzie wartość piksela jest wysokością paraboli. W przypadku obrazu binarnego (zero/nie-zero) jest to równoznaczne z buforowaniem każdego wejściowego piksela o wartości różnej od zera o pierwiastek kwadratowy z jego wartości (w pikselach).
Wykorzystanie | Zwroty |
---|
Image.rsedTransform(neighborhood, units) | Obraz |
Argument | Typ | Szczegóły |
---|
to: image | Obraz | Obraz wejściowy. |
neighborhood | Liczba całkowita, domyślnie: 256 | Rozmiar sąsiedztwa w pikselach. |
units | Ciąg znaków, domyślnie: „pixels” | Jednostki sąsiedztwa, obecnie obsługiwane są tylko „piksele”. |
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\u003eRSED generates a height map by placing inverted parabolas over each non-zero pixel in an image, with parabola height corresponding to pixel value.\u003c/p\u003e\n"],["\u003cp\u003eThis transformation effectively buffers non-zero pixels by the square root of their value, creating a smoothed, expanded representation of the original image.\u003c/p\u003e\n"],["\u003cp\u003eIt's implemented through the \u003ccode\u003ersedTransform\u003c/code\u003e method with adjustable neighborhood size, impacting the extent of buffering.\u003c/p\u003e\n"]]],["Reverse Squared Euclidean Distance (RSED) creates a 2D surface by placing inverted parabolas over non-zero pixels in an image, with pixel values determining parabola heights. It's analogous to buffering each non-zero pixel by the square root of its value. The `Image.rsedTransform` function takes an input image and computes the RSED transform. The function requires `neighborhood` size in pixels (default 256) and supports `\"pixels\"` as `units`. It returns the transformed `Image`.\n"],null,["# ee.Image.rsedTransform\n\nReverse Squared Euclidean Distance (RSED) computes the 2D maximal height surface created by placing an inverted parabola over each non-zero pixel of the input image, where the pixel's value is the height of the parabola. Viewed as a binary image (zero/not-zero) this is equivalent to buffering each non-zero input pixel by the square root of its value, in pixels.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------|---------|\n| Image.rsedTransform`(`*neighborhood* `, `*units*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|---------------------------|-----------------------------------------------------------------------|\n| this: `image` | Image | The input image. |\n| `neighborhood` | Integer, default: 256 | Neighborhood size in pixels. |\n| `units` | String, default: \"pixels\" | The units of the neighborhood, currently only 'pixels' are supported. |"]]