ee.Image.arrayRepeat

Repeats each array pixel along the given axis. Each output pixel will have the shape of the input pixel, except length along the repeated axis, which will be multiplied by the number of copies.

UsageReturns
Image.arrayRepeat(axis, copies)Image
ArgumentTypeDetails
this: inputImage

Image of array pixels to be repeated.

axisInteger

Axis along which to repeat each pixel's array.

copiesImage

Number of copies of each pixel.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!