sv_ip_fft(sv_ip) SunVision IP sv_ip_fft(sv_ip)
NAME
sv_ip_fft - compute fourier transform of an image
DESCRIPTION
The sv_ip_fft object computes the fourier transform of its
input image. The output image is a packed representation
of both the phase and magnitude of the input image. The
input and output images must be of type ipFLOAT and be the
same size. The height and width of the images must both be
a power of 2.
SUPERCLASS
sv_ip_filter
INSTANCE VARIABLES
No new instance variables.
MESSAGES
No new messages.
EXAMPLE
<sv-ip-constants
<mr-image
sv_ip_display new: mr_image
data_in=`mr_ip'
title=`Original data'
render!
;
sv_ip_copy new: mr_float
data_in=`mr_ip'
data_type=ipFLOAT
;
sv_ip_fft new: fft data_in=`mr_float';
sv_ip_fft_display new: phase
data_in=`fft'
destination_select=ipPHASE
;
sv_ip_display new: phase_image
data_in=`phase'
title=`Phase image'
render!
;
sv_ip_fft_display new: mag
data_in=`fft'
destination_select=ipMAGNITUDE
log_flag= 1
;
sv_ip_display new: mag_image
data_in=`mag'
title= `Magnitude'
render!
;
SEE ALSO
sv_ip_filter, sv_ip, sv_ip_fft_display
Please send comments and suggestions toconsult@rpi.edu