Arithmetic Operations


The Arithmetic Operations command performs various unary arithmetic operations on an image or image set. These are called "unary operations" because they involve only one image.

Mira provides the following arithmetic operations on a single image.

Mathematical Operations on a Single Image

Change Sign

Changes the sign of the pixel values.

Swap Byte Order

Swaps (reverses) the byte order of pixel values.

Exponential

Raises e to the power of the pixel values.

Lob Base e

Computes the base e log of the pixel values. The result is set to Error Value if the pixel has a value of 0.0.

Log Base 10

Computes the base 10 log of the pixel values. The result is set to Error Value if the pixel has a value of 0.0.

Absolute Value

Computes the absolute value of the pixel values.

Reciprocal

Computes the reciprocal of the pixel values by dividing them into 1.0.

Square Root

Computes the square root of the pixel values. The result is set to Error Value if the pixel has a value < 0.0.

Related Topics

Math Commands