ComplexToReal

MLModule

genre

Unary

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

MLComplexArithmetic

definition

MLComplexArithmetic.def

see also

ComplexArithmetic2, TypeComposer, TypeDecomposer, TypeArithmetic1, TypeArithmetic2, Arithmetic0, Arithmetic1, Arithmetic2

keywords

absolute, phase, power, number, argument, convert, imaginary

Purpose

The module ComplexToReal computes either the absolute value, power, phase, real, or imaginary part of complex numbers in an image.

Usage

Select the function you want to apply to the input image.

Windows

Default Panel

../../../Modules/ML/MLComplexArithmetic/mhelp/Images/Screenshots/ComplexToReal._default.png

Input Fields

input0

name: input0, type: Image

The input image can be of any data type.

If the input is not of complex type, it is automatically cast to complex double.

Output Fields

output0

name: output0, type: Image

The output image containg real numbers.

Parameter Fields

Visible Fields

Operators

name: Operators, type: Enum, default: Absolute

Defines the mode how complex input voxels are converted to scalar output voxels.

Values:

Title

Name

Description

​Absolute

​Absolute

​The absolute of the value of each voxel is computed.

​Argument

​Argument

​The argument or phase of the value of each voxel is computed.

​Power

​Power

​The power spectrum of the value of each voxel is computed.

​Real

​Real

​The real part of the value of each voxel is computed.

​Imaginary

​Imaginary

​The imaginary part of the value of each voxel is computed.