<<<<<<<<<<<<<<<<<

sv_ip_fft_display(sv_ip) SunVision IP sv_ip_fft_display(sv_ip)

NAME

sv_ip_fft_display - extract phase or magnitude from a frequency domain image

DESCRIPTION

The sv_ip_fft_display class extracts the phase component or the magnitude component from a packed frequency domain image as generated by the sv_ip_fft object. The component extracted is specified by the value of the destination_select instance variable.

SUPERCLASS

sv_ip_filter

INSTANCE VARIABLES

destination_select determines which component is extracted from the input image. Valid values are ipPHASE and ipMAGNITUDE.

log_flag specifies whether to take the natural logarithm of the magnitude component.

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, ip_fft_display(3)


Please send comments and suggestions to
consult@rpi.edu