ee.Image.bitCount
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Calcule le nombre de bits définis sur "1" dans la représentation binaire du complément à deux de 64 bits de l'entrée.
Utilisation | Renvoie |
---|
Image.bitCount() | Image |
Argument | Type | Détails |
---|
ceci : value | Image | Image à laquelle l'opération est appliquée. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eThis operation calculates the number of one-bits in a 64-bit binary representation of an image input.\u003c/p\u003e\n"],["\u003cp\u003eIt applies to an image and returns the modified image.\u003c/p\u003e\n"],["\u003cp\u003eThe function \u003ccode\u003eImage.bitCount()\u003c/code\u003e is used for this operation.\u003c/p\u003e\n"]]],["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"],null,["# ee.Image.bitCount\n\nCalculates the number of one-bits in the 64-bit two's complement binary representation of the input.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------|---------|\n| Image.bitCount`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]