Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
problem is that i am not getting the original image, the image after performing ifft is black with white dot on it.
my input image is Leena
and the output is attached here
yes i have perform IFFT and put the pixels back into the right position in the output image in last part, i have calculate the IFFT of the block and allocate its position and running the loop for 4096 times i can get the original image%calculation of IFFT
for K=1:r/bs
for L=1:c/bs...
till now i have done this
i am getting a black image after performing IFFT
clc;
clear all;
close all;
I_color=imread('lena.jpg');
I=double(rgb2gray(I_color));
[r,c,p]= size(I);
subplot(2,2,1);
imshow(I_color);
title('Original Image');
bs=8;
nob=r/bs;
xx=0;
% creating cos and sine matrix...
thanks for reply
i have tried using blockproc but in my algorithm i have to perform various operation one after another
thus i am unable to build 'fun' for blockproc.
kindly help me out to complete the code
sir I am a research scholar, and currently working on lossy image compression using FFT.
The proposed FFT/IFFT algorithm is also folIows:
Read the input file from the host system.
Evaluate the (8x8) Cosine and Sine matrix using Equations.
C(u+l, x+l) = cos(pi / 4)*(u* x))
S(u + 1, x + 1)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.