Any

Node Icon

Project a boolean array using local any over all dimensions (reducing the array to a bit, i.e. TRUE if any voxel in a mask is TRUE), a dimension. The output is TRUE if any voxel in the selected dimension is TRUE.

Inputs

Input

Input Boolean Array(s).

Type: Boolean Array, List, Required, Single

Outputs

Output

Output.

Type: Boolean Array, List

Settings

Projection Along Selection

Select over which dimension to reduce, All will reduce the array to a number, or choose a Dimension.

Values: All, Dimension

Dimension Integer

Specify which dimension to reduce over.

Keep Dimension Boolean

If selected, the dimension which was reduced will be kept as a singleton dimension. E.g. if you have a numeric array with dimensions [i, j, k, c] and select Keep Dimension, the output will be [i, j, k, 1], otherwise it will be [i, j, k].

See also

Keywords: