function call:
[out_img1]=vsg('ViewFFT',in_img1r,in_img1i);
Arguments:
in_img1r
- input image, 3 channel RGB, 1 channel greyscale or binary image of the
real FFT coefficients.
in_img1i
- input image, 3 channel RGB, 1 channel greyscale or binary image of the
imaginary FFT coefficients.
Description:
out_img1
– the output image values are the normalised log of the magnitude of the
Fourier transform images.
Example:
img = openimage('baboon.jpg');
h=figure;image(img);set(h,'Name','Input
Image');
[out_img1,out_img2]=vsg('FFT',img);
[out_img3]=vsg('ViewFFT',out_img1,out_img2);
h=figure;imagesc((out_img3(:,:,1)));colormap(gray);set(h,'Name','FFT');
Notes:
For RGB images, the
function operates on all colour planes separately.