Operator Reference
power_byte (Operator)
power_byte
— Return the power spectrum of a complex image.
Signature
Description
power_byte
computes the power spectrum from the real and
imaginary parts of a Fourier-transformed image (see
fft_image
), i.e., the modulus of the frequencies. The
result image is of type 'byte' . The following formula is
used:
Please note, that resulting gray values that exceed the value of 255 are clipped at 255 because of the resulting image type 'byte' .
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
Image
(input_object) (multichannel-)image(-array) →
object (complex)
Input image in frequency domain.
PowerByte
(output_object) image(-array) →
object (byte)
Power spectrum of the input image.
Example (C)
read_image(&Image,"monkey"); disp_image(Image,WindowHandle); fft_image(Image,&FFT); power_byte(FFT,&Power); disp_image(Power,WindowHandle);
Result
power_byte
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>:)
.
If necessary, an exception is raised.
Possible Predecessors
fft_image
,
fft_generic
,
rft_generic
,
convol_fft
,
convol_gabor
Possible Successors
Alternatives
abs_image
,
convert_image_type
,
power_real
,
power_ln
See also
fft_image
,
fft_generic
,
rft_generic
Module
Foundation