ee.Image.signum
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تابع signum (علامت) ورودی را محاسبه می کند. 0 اگر ورودی 0 باشد، 1 اگر ورودی بزرگتر از 0 باشد، -1 اگر ورودی کمتر از 0 باشد.
استفاده | برمی گرداند | Image. signum () | تصویر |
استدلال | تایپ کنید | جزئیات | این: value | تصویر | تصویری که عملیات روی آن اعمال می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eComputes the signum function of an image, resulting in a new image with pixel values of 1, 0, or -1.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns an image where each pixel value represents the sign of the corresponding pixel in the input image: 1 for positive values, 0 for zero, and -1 for negative values.\u003c/p\u003e\n"],["\u003cp\u003eIt is applied to an input image and outputs a modified image based on the signum function.\u003c/p\u003e\n"]]],[],null,["# ee.Image.signum\n\nComputes the signum function (sign) of the input; 0 if the input is 0, 1 if the input is greater than 0, -1 if the input is less than 0.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------|---------|\n| Image.signum`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]