ee.Image.uint8
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Wandelt den Eingabewert in eine vorzeichenlose 8‑Bit-Ganzzahl um.
Nutzung | Ausgabe |
---|
Image.uint8() | Bild |
Argument | Typ | Details |
---|
So gehts: value | Bild | Das Bild, auf das der Vorgang angewendet wird. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eTransforms image data to an 8-bit unsigned integer format.\u003c/p\u003e\n"],["\u003cp\u003eThis operation modifies the image in-place and returns the updated Image object.\u003c/p\u003e\n"],["\u003cp\u003ePrimarily used for ensuring pixel values fall within the range of 0-255.\u003c/p\u003e\n"]]],["The `uint8()` method converts an image's data type to an unsigned 8-bit integer. The input `value`, representing an image, is cast. The method, when applied, returns a modified image. This method does not take any additional arguments, only the image the operation will be applied to.\n"],null,["# ee.Image.uint8\n\nCasts the input value to an unsigned 8-bit integer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------|---------|\n| Image.uint8`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]