Raise To Power

Class: NodeImageRaiseToPower

Node Icon

Raise each voxel \(A_i\) in the input image to the power of the voxel value in the secondary input image(s) \(B_{i,j}\), or by a scalar.

\[ \begin{equation} R_i = A_i^{\sum_j{B_{i,j}}} \label{eq:sample} \end{equation} \]

If multiple inputs are used, all matrix sizes must be equal.

Example workflows

Inputs

Image

The input image.

Type: Image4DFloat, Required, Single

Raise to

One or multiple images containing the values with which to raise the primary input image.

Type: Image4DFloat, Optional, Single

Outputs

Out

The resulting image.

Type: Image4DFloat

Settings

Number Number

Raise each voxel in the input image to the power of specified number. Disregarded if an image is connected to the secondary input.

See also

Keywords: