Sum

Node Icon

Project an image using the sum over all dimensions (reducing the image to a number, i.e. sum of all voxels), a selected axis or channel.

Inputs

Input

Input image(s).

Type: Image, List, Required, Single

Outputs

Output

Output.

Type: Image, List

Settings

Projection Along Selection

Select over which dimension to project, e.g. if you select i and input a 3D image, the output image dimensions will be [1, j, k].

Values: All, i, j, k, Channel

Channel Integer

Select over which channel to project.

Keep Channel Boolean

If selected, the channel which was selected will be kept as a singleton dimension. E.g. if you have an image [i, j, k, c] and select Keep Channel, the output will be [i, j, k, 1], otherwise it will be [i, j, k].

See also

Keywords: