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.
Usage | Returns |
---|---|
Image.arrayRepeat(axis, copies) | Image |
Argument | Type | Details |
---|---|---|
this: input | Image | Image of array pixels to be repeated. |
axis | Integer | Axis along which to repeat each pixel's array. |
copies | Image | Number of copies of each pixel. |
Examples
JavaScript
// Your example goes here!
Python
# Your example goes here!