ee.Image.rsedTransform
Reverse 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.
Usage | Returns |
---|
Image.rsedTransform(neighborhood, units) | Image |
Argument | Type | Details |
---|
this: image | Image | The input image. |
neighborhood | Integer, default: 256 | Neighborhood size in pixels. |
units | String, default: "pixels" | The units of the neighborhood, currently only 'pixels' are supported. |
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 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["RSED generates a height map by placing inverted parabolas over each non-zero pixel in an image, with parabola height corresponding to pixel value."],["This transformation effectively buffers non-zero pixels by the square root of their value, creating a smoothed, expanded representation of the original image."],["It's implemented through the `rsedTransform` method with adjustable neighborhood size, impacting the extent of buffering."]]],["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"]]