ee.Image.toByte
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इनपुट वैल्यू को बिना हस्ताक्षर वाले 8-बिट पूर्णांक में बदलता है.
इस्तेमाल | रिटर्न |
---|
Image.toByte() | इमेज |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: value | इमेज | वह इमेज जिस पर ऑपरेशन लागू किया गया है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\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. |"]]