ee.Image.bitCount
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Oblicza liczbę jedynek w 64-bitowej reprezentacji binarnej liczby wejściowej w systemie uzupełnień do dwóch.
Wykorzystanie | Zwroty |
---|
Image.bitCount() | 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\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. |"]]