InvFourier

Inverse Fourier Transform.

 

function call:

[out_img1]=vsg('InvFFT',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:

The out_img1 – the output image values are the inverse Fourier transform of the input images.

 

Example:

h=figure;image(img);axis image;

[out_img1,out_img2]=vsg('FFT',img);

[out_img3]=vsg('ViewFFT',out_img1,out_img2);

h=figure;imagesc((out_img3(:,:,1)));colormap(gray);colormap(gray);set(h,'Name','FFT');

[out_img4]=vsg('InvFFT',out_img1,out_img2);

h=figure; image(uint8(out_img4));set(h,'Name','InvFFT');




Notes

1. For DICOM images, the function operates on only the first slice.

2. For RGB images, the function operates on all colour planes separately.

Home       Functions      Back