ee.Image.toFloat
Casts the input value to a 32-bit float.
Usage | Returns |
---|
Image.toFloat() | Image |
Argument | Type | Details |
---|
this: value | Image | The image to which the operation is applied. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["This operation casts the input image's pixel values to 32-bit floating-point numbers."],["The `toFloat()` method is applied to an Image object and returns a new Image object with the converted pixel data."],["It takes the original image as input and does not require any additional arguments."]]],[]]