Announcement: On November 13, 2024, all users will need to use a Cloud project in order to access Earth Engine. After this date, continued individual access without a Cloud project will require an exception.
Stay organized with collections
Save and categorize content based on your preferences.
Computes a tile by performing an arbitrary computation on image data.
Returns:
The pixels as raw image data.
Usage
Returns
ee.data.computePixels(params)
Object|Value
Argument
Type
Details
params
Object
An object containing parameters with the following possible values:
expression - The expression to compute.
fileFormat - The resulting file format. Defaults to png. See
ImageFileFormat
for the available formats. There are additional formats that convert
the downloaded object to a Python data object. These include:
NUMPY_NDARRAY, which converts to a structured NumPy
array.
grid - Parameters describing the pixel grid in which to fetch data.
Defaults to the native pixel grid of the data.
bandIds - If present, specifies a specific set of bands from which to get
pixels.
visualizationOptions - If present, a set of visualization options to apply
to produce an 8-bit RGB visualization of the data,
rather than returning the raw data.
workloadTag - User supplied tag to track this computation.