Pad/Crop

Node Icon

Pad or crop an input Numeric Array or Boolean Array.

Inputs

Input

Input Numeric Array or Boolean Array.

Type: Numeric Array, Boolean Array, List, Required, Single

Outputs

Output

Output Numeric Array or Boolean Array.

Type: Numeric Array, Boolean Array, List

Settings

New Size Integers

Set output size. The result will be symmetrically padded or cropped in each dimension.

Extrapolation Value Complex Number

Extrapolation value used for array elements added with padding.

Method Selection

Select the padding method. Centered pads or crops symmetrically at the beginning and end of each affected dimension, Corner pads or crops at the end of each affected dimension.

Values: Centered, Corner

See also

Keywords: