ee.Image.toByte
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
مقدار ورودی را به یک عدد صحیح 8 بیتی بدون علامت ارسال می کند.
استفاده | برمی گرداند | Image. toByte () | تصویر |
استدلال | تایپ کنید | جزئیات | این: value | تصویر | تصویری که عملیات روی آن اعمال می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eTransforms image data by converting its values to unsigned 8-bit integers (0-255).\u003c/p\u003e\n"],["\u003cp\u003eThis operation is applied to an existing image and results in a new image with the modified data type.\u003c/p\u003e\n"],["\u003cp\u003eThe function, \u003ccode\u003eImage.toByte()\u003c/code\u003e, is used to perform this conversion, taking the original image as input.\u003c/p\u003e\n"]]],[],null,["# ee.Image.toByte\n\nCasts the input value to an unsigned 8-bit integer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------|---------|\n| Image.toByte`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]