Fast Fourier Transform: FFT.
function call:
[out_img1r,
out_img1i]=vsg('FFT',in_img1);
Arguments:
in_img1
input image, 3 channel RGB, 1 channel greyscale or binary image.
Description:
out_img1r
– the output
image values are the real FFT coefficients of the input image.
out_img1i
– the output image values are the imaginary FFT coefficients of the
input image.
Example:
img = openimage('baboon.jpg');
h=figure;image(img);set(h,'Name','Input
Image');
[out_img1,out_img2]=vsg('FFT',img);
Notes:
1. For DICOM images,
the function operates on only the first slice, this will be updated.
2. For RGB images,
the function operates on all colour planes separately.