ee.Image.bitCount
Calculates the number of one-bits in the 64-bit two's complement binary representation of the input.
Usage | Returns |
---|
Image.bitCount() | 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 calculates the number of one-bits in a 64-bit binary representation of an image input."],["It applies to an image and returns the modified image."],["The function `Image.bitCount()` is used for this operation."]]],["The core functionality determines the count of one-bits within the 64-bit two's complement binary form of an input image. The operation, `bitCount()`, is applied to an image (`value`) and outputs a new image. The result represents the number of set bits within the binary representation of each pixel in the provided input `Image`. The function does not take other inputs than the `value` to process.\n"]]