Return the phase of a complex image in radians.
::phase_rad computes the phase of a complex image in radians. The following formula is used:
phase = atan(imaginary part/real part) .
|
ImageComplex (input_object) |
image(-array) -> Hobject: HImage(Array) ( complex ) |
| Input image in frequency domain. | |
|
ImagePhase (output_object) |
image(-array) -> Hobject * : HImage(Array) ( real ) |
| Phase of the image in radians. | |
read_image(&Image,"affe"); disp_image(Image,WindowHandle); fft_image(Image,&FFT); phase_rad(FFT,&Phase); disp_image(Phase,WindowHandle);
::phase_rad returns H_MSG_TRUE if the image is of correct type. If the input is empty the behaviour can be set via ::set_system('no_object_result',<Result>). If necessary, an exception handling is raised.
Image filters