phase_radphase_radPhaseRadPhaseRad (Operator)
Name
phase_radphase_radPhaseRadPhaseRad
— Return the phase of a complex image in radians.
Signature
Description
phase_radphase_radPhaseRadPhaseRadPhaseRad
computes the phase of a complex image in
radians. The following formula is used:
phase = atan2(imaginary part,real part) .
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Automatically parallelized on tuple level.
- Automatically parallelized on channel level.
- Automatically parallelized on domain level.
Parameters
ImageComplexImageComplexImageComplexImageCompleximageComplex
(input_object) (multichannel-)image(-array) →
objectHImageHImageHobject (complex)
Input image in frequency domain.
ImagePhaseImagePhaseImagePhaseImagePhaseimagePhase
(output_object) image(-array) →
objectHImageHImageHobject * (real)
Phase of the image in radians.
Example (C)
read_image(&Image,"monkey");
disp_image(Image,WindowHandle);
fft_image(Image,&FFT);
phase_rad(FFT,&Phase);
disp_image(Phase,WindowHandle);
Result
phase_radphase_radPhaseRadPhaseRadPhaseRad
returns 2 (H_MSG_TRUE) if the image is of correct
type. If the input is empty the behavior can be set via
set_system(::'no_object_result',<Result>:)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)
.
If necessary, an exception is raised.
Possible Predecessors
fft_imagefft_imageFftImageFftImageFftImage
,
fft_genericfft_genericFftGenericFftGenericFftGeneric
,
rft_genericrft_genericRftGenericRftGenericRftGeneric
Possible Successors
disp_imagedisp_imageDispImageDispImageDispImage
Alternatives
phase_degphase_degPhaseDegPhaseDegPhaseDeg
See also
fft_image_invfft_image_invFftImageInvFftImageInvFftImageInv
,
fft_genericfft_genericFftGenericFftGenericFftGeneric
,
rft_genericrft_genericRftGenericRftGenericRftGeneric
Module
Foundation