DSPRelated.com
Forums

fft2 filtered image recover

Started by p3dr0s4 May 11, 2004
Hi

I need your help, can anyone tell me how I could recover the original
image from a filtered one knowing the filter impulse response and
using the fft2 matlab function.

regards

Pedro Pedrosa



Pedro:

If ,
x : original image
h : filter's impulse response
y: filtered image

Then,
H = fft2(h); % fourier transform of h
Y = fft2(y); % fourier transform of y
X = Y./H; % since Y = ( H times X )
x = ifft2(X); % Inverse fourier transform of X

Hope this helps,
Meenakshi. p3dr0s4 wrote:

> Hi
>
> I need your help, can anyone tell me how I could recover the original
> image from a filtered one knowing the filter impulse response and
> using the fft2 matlab function.
>
> regards
>
> Pedro Pedrosa >
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the
> author of this message will receive your answer. You need to do a
> "reply all" if you want your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join:
>
> To Post:
>
> To Leave:
>
> Archives: http://www.yahoogroups.com/group/matlab
>
> More DSP-Related Groups: http://www.dsprelated.com/groups.php3 > *
>
<http://rd.yahoo.com/SIG9kek9hs/M)5196.4901138.6071305.3001176/D=groups/S=1\
705083376:HM/EXP84410128/A!28215/R=0/SIGse96mf6/*http://companion.yahoo.\
com>
>
> *>.