ee.Image.medialAxis
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
محور میانی گسسته پیکسل های صفر باند اول ورودی را محاسبه می کند. خروجی 4 باند:
medial - نقاط محور میانی، مقیاس بندی شده با فاصله.
پوشش - تعداد نقاطی که از هر نقطه محور میانی پشتیبانی می کنند.
xlabel - فاصله افقی تا نقطه قدرت برای هر پیکسل.
ylabel - فاصله عمودی تا نقطه قدرت برای هر پیکسل.
استفاده | برمی گرداند | Image. medialAxis ( neighborhood , units ) | تصویر |
استدلال | تایپ کنید | جزئیات | این: image | تصویر | تصویر ورودی |
neighborhood | عدد صحیح، پیش فرض: 256 | اندازه همسایگی بر حسب پیکسل |
units | رشته، پیش فرض: "pixels" | واحدهای محله، در حال حاضر فقط «پیکسل» پشتیبانی می شوند. |
،محور میانی گسسته پیکسل های صفر باند اول ورودی را محاسبه می کند. خروجی 4 باند:
medial - نقاط محور میانی، مقیاس بندی شده با فاصله.
پوشش - تعداد نقاطی که از هر نقطه محور میانی پشتیبانی می کنند.
xlabel - فاصله افقی تا نقطه قدرت برای هر پیکسل.
ylabel - فاصله عمودی تا نقطه قدرت برای هر پیکسل.
استفاده | برمی گرداند | Image. medialAxis ( neighborhood , units ) | تصویر |
استدلال | تایپ کنید | جزئیات | این: image | تصویر | تصویر ورودی |
neighborhood | عدد صحیح، پیش فرض: 256 | اندازه همسایگی بر حسب پیکسل |
units | رشته، پیش فرض: "pixels" | واحدهای محله، در حال حاضر فقط «پیکسل» پشتیبانی می شوند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]