Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Image.bitsToArrayImage
Stay organized with collections
Save and categorize content based on your preferences.
Turns the bits of an integer into a 1-D array. The array has a length up to the highest 'on' bit in the input.
Usage | Returns | Image.bitsToArrayImage() | Image |
Argument | Type | Details | this: input | Image | Input image. |
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 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eThis function transforms an integer's bits into a 1-D array, with the array's length determined by the highest 'on' bit in the integer.\u003c/p\u003e\n"],["\u003cp\u003eIt is accessed through the \u003ccode\u003eImage.bitsToArrayImage()\u003c/code\u003e method and returns an Image object.\u003c/p\u003e\n"],["\u003cp\u003eThe method takes one argument, 'input', which represents the Image to be processed.\u003c/p\u003e\n"]]],[],null,["# ee.Image.bitsToArrayImage\n\nTurns the bits of an integer into a 1-D array. The array has a length up to the highest 'on' bit in the input.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Image.bitsToArrayImage`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|--------------|\n| this: `input` | Image | Input image. |"]]