blob: 7f10c42375dbc532b0175181ecf7778369a4cac1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
function [out]=IFFT(inputimage)
// Computes the inverse descrete fourier transform of image
//
// Calling Sequence
// output_image = IFFT(inputimage);
//
// Parameters
//
// inputimage : Grayscale image
// out_image : IFFT of input image
//
// Description
// This function computes the inverse descrete fourier transform of input image.The image should be grayscale.
//
// Examples
// a = imread('cameraman.tif');
// b = IFFT(a);
// imshow(b)
//
// Authors:
//
//Diwakar Bhardwaj
inputimage1=mattolist(inputimage);
a=opencv_IFFT(inputimage1);
dimension=size(a)
for i = 1:dimension
out(:,:,i)=a(i);
end
endfunction;
|