ee.Image.float
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Konwertuje wartość wejściową na 32-bitową liczbę zmiennoprzecinkową.
Wykorzystanie | Zwroty |
---|
Image.float() | 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\u003eCasts the input image to a 32-bit float.\u003c/p\u003e\n"],["\u003cp\u003eThe function, \u003ccode\u003eImage.float()\u003c/code\u003e, returns a new Image object.\u003c/p\u003e\n"],["\u003cp\u003eThis operation is applied to an existing image and modifies its data type.\u003c/p\u003e\n"]]],["The core function casts an image's pixel values to a 32-bit float. The operation, accessible via `Image.float()`, takes an image as input (`value`) and returns a modified image. This action converts the data type of the image's pixels to a float. There are no other arguments required. The returned value is the converted image.\n"],null,["# ee.Image.float\n\nCasts the input value to a 32-bit float.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------|---------|\n| Image.float`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]