ee.Image.medialAxis

Computes the discrete medial axis of the zero valued pixels of the first band of the input. Outputs 4 bands:

 medial - the medial axis points, scaled by the distance.

 coverage - the number of points supporting each medial axis point.

 xlabel - the horizontal distance to the power point for each pixel.

 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.
Create a Mobile Website
View Site in Mobile | Classic
Share by: