Duyuru:
15 Nisan 2025'ten önce Earth Engine'i kullanmak için kaydedilen tüm ticari olmayan projelerin Earth Engine erişimini sürdürmek için
ticari olmayan uygunluğu doğrulaması gerekir.
ee.Image.medialAxis
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Girişin ilk bandındaki sıfır değerli piksellerin ayrık medyan eksenini hesaplar. 4 bant çıkışı verir:
medial: Medial eksen noktaları, mesafeye göre ölçeklendirilir.
kapsam: Her bir medial eksen noktasını destekleyen nokta sayısı.
xlabel: Her piksel için güç noktasına olan yatay mesafe.
ylabel: Her piksel için güç noktasına olan dikey uzaklık.
Kullanım | İadeler |
---|
Image.medialAxis(neighborhood, units) | Resim |
Bağımsız Değişken | Tür | Ayrıntılar |
---|
bu: image | Resim | Giriş resmi. |
neighborhood | Tamsayı, varsayılan: 256 | Piksel cinsinden mahalle boyutu. |
units | Dize, varsayılan: "pixels" | Şu anda yalnızca "piksel" birimleri desteklenmektedir. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eComputes the discrete medial axis transform of the zero-valued pixels in the first band of an image.\u003c/p\u003e\n"],["\u003cp\u003eOutputs a 4-band image representing medial axis points, their support, and distances to power points.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an input image, neighborhood size, and units as parameters for customization.\u003c/p\u003e\n"]]],["This function calculates the discrete medial axis of an image's zero-valued pixels. It returns an image with four bands: `medial` (medial axis points scaled by distance), `coverage` (number of supporting points), `xlabel` (horizontal distance to the power point), and `ylabel` (vertical distance to the power point). The function accepts an input image, neighborhood size (default: 256 pixels), and units (only 'pixels' supported). It is called using `Image.medialAxis()`.\n"],null,["# ee.Image.medialAxis\n\nComputes the discrete medial axis of the zero valued pixels of the first band of the input. Outputs 4 bands:\n\n\u003cbr /\u003e\n\nmedial - the medial axis points, scaled by the distance.\n\ncoverage - the number of points supporting each medial axis point.\n\nxlabel - the horizontal distance to the power point for each pixel.\n\nylabel - the vertical distance to the power point for each pixel.\n\n| Usage | Returns |\n|--------------------------------------------------|---------|\n| Image.medialAxis`(`*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. |"]]