Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["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 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."]]],[]]