summaryrefslogtreecommitdiff
path: root/macros/IFFT.sci
diff options
context:
space:
mode:
authorshamikam2017-01-16 02:56:17 +0530
committershamikam2017-01-16 02:56:17 +0530
commita6df67e8bcd5159cde27556f4f6a315f8dc2215f (patch)
treee806e966b06a53388fb300d89534354b222c2cad /macros/IFFT.sci
downloadFOSSEE_Image_Processing_Toolbox-a6df67e8bcd5159cde27556f4f6a315f8dc2215f.tar.gz
FOSSEE_Image_Processing_Toolbox-a6df67e8bcd5159cde27556f4f6a315f8dc2215f.tar.bz2
FOSSEE_Image_Processing_Toolbox-a6df67e8bcd5159cde27556f4f6a315f8dc2215f.zip
First CommitHEADmaster
Diffstat (limited to 'macros/IFFT.sci')
-rw-r--r--macros/IFFT.sci31
1 files changed, 31 insertions, 0 deletions
diff --git a/macros/IFFT.sci b/macros/IFFT.sci
new file mode 100644
index 0000000..7f10c42
--- /dev/null
+++ b/macros/IFFT.sci
@@ -0,0 +1,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;