ee.Image.medialAxis

Computes the discrete medial axis of the zero valued pixels of the first band of the input. Outputs 4 bands:
  1. medial - the medial axis points, scaled by the distance.
  2. coverage - the number of points supporting each medial axis point.
  3. xlabel - the horizontal distance to the power point for each pixel.
  4. ylabel - the vertical distance to the power point for each pixel.
Usage Returns
Image. medialAxis ( 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.
Design a Mobile Site
View Site in Mobile | Classic
Share by: