ee.Image.toShort
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Konwertuje wartość wejściową na 16-bitową liczbę całkowitą ze znakiem.
Wykorzystanie | Zwroty |
---|
Image.toShort() | Obraz |
Argument | Typ | Szczegóły |
---|
to: value | Obraz | Obraz, do którego zastosowano operację. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eTransforms image data by converting pixel values to signed 16-bit integers.\u003c/p\u003e\n"],["\u003cp\u003eThis operation is applied to an existing image and returns a modified version of that image.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003etoShort()\u003c/code\u003e takes no arguments but operates on the image it is called upon.\u003c/p\u003e\n"]]],["The provided content details an operation that converts an input image value into a signed 16-bit integer. This operation, `toShort()`, is applied directly to an image (`this: value`). The function returns the modified image after the conversion. The core action is casting the image data to a signed 16-bit integer representation, where the operation is performed on the provided image itself.\n"],null,["# ee.Image.toShort\n\nCasts the input value to a signed 16-bit integer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| Image.toShort`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]