Sign in

username:

password:



Not a member?

Search compdsp



Search tips

comp.dsp by Keywords

Adaptive Filter | ADPCM | ADSP | ADSP-2181 | Aliasing | AMR | Anti-Aliasing | ARMA | Autocorrelation | AutoCovariance | Beamforming | Bessel | Blackfin | Butterworth | C6713 | CCS | Chebyshev | CIC Filter | Circular Convolution | Code Composer Studio | Comb Filter | Compression | Convolution | Cross Correlation | DCT | Decimation | Deconvolution | Demodulation | DM642 | DSP Boards | DSP/BIOS | DTMF | Echo Cancellation | Equalization | Equalizer | ETSI | EZLITE (Ez-kit Lite) | FFT | FFTW | FIR Filter | Fixed Point | FSK | G.711 | G.723 | G.729 | Gaussian Noise | Goertzel | GPIO | Hilbert Transform | IFFT | IIR Filter | Interpolation | Invariance | JTAG | Kalman | Laplace Transform | Levinson | LPC | McBSP | MIPS | Modulation | MPEG | Multirate | Notch Filter | Nyquist | OFDM | Oversampling | Pink Noise | Pitch | PLL | Polyphase | QAM | QDMA | Quantization | Quantizer | Radar | Random Noise | Reed Solomon | Remez | Resampling | RTDX | Sampling | Sharc | TI C6711 | Undersampling | Viterbi | Wavelets | White Noise | Wiener Filter | Windowing | XDS510PP | Z Transform


Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Comp.DSP | anybody knows how to do de-convolution?

There are 5 messages in this thread.

You are currently looking at messages 0 to 5.


anybody knows how to do de-convolution? - lucy - 2004-07-28 19:42:00

Hi all,

I have a filter and want to inverse the filtering step, what can I do?

Please help me. Thanks a lot,

-Lucy


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: anybody knows how to do de-convolution? - amara vati - 2004-07-29 07:07:00



if your filter is constant, simply design the inverse filter for it.
the simplest way is using DFT, reciprocate and IDFT. If your filter is
variable or quasi stationary, use Adaptive signal processing
techniques like LMS, RLS. In any case, the signals that pass thro the
"zero" part of the spectrum of the signal cannot be  retreived back.

amar

"lucy" <l...@yahoo.com> wrote in message news:<ce9dk6$7h3$1...@news.Stanford.EDU>...
> Hi all,
> 
> I have a filter and want to inverse the filtering step, what can I do?
> 
> Please help me. Thanks a lot,
> 
> -Lucy
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: anybody knows how to do de-convolution? - Rune Allnor - 2004-07-29 13:43:00

"lucy" <l...@yahoo.com> wrote in message news:<ce9dk6$7h3$1...@news.Stanford.EDU>...
> Hi all,
> 
> I have a filter and want to inverse the filtering step, what can I do?
> 
> Please help me. Thanks a lot,
> 
> -Lucy

The inverse filtering problem is generally a difficult one to solve.
To get the notation straight, express the filter as [use fixed-width 
fonts to view figure]
                                 
             +----------+
  x[n] o-----|   h[n]   |-----o  y[n]
             +----------+

     y[n]=x[n] (*) h[n]                                         (1)   

where (*) means convolution. In frequency domain, this becomes

     Y(w)= X(w)*H(w)                                            (2)  

where * means multiplication. Now, the naive approach would be to
reorder (2) as

              Y(w) 
     X(w)=  --------                                             (3)
              H(w) 

assuming now that Y(w) is observed and H(w) is known. The problem 
is that H(w)=0 for some w, which means that the expression (3) blows 
up and the resulting X(w) will show a resonance at this w. This happens 
at those frequencies w that are completely cancelled by the filter, 
which isn't very good at all.

So the alternative approach is to design some filter f[n] such that 
(ideally)

    h[n] (*) f[n]  = d[n]                                         (4)

where d[n] is the Kronecker Delta sequence. This is not very easy in 
practice, it usually involves solving some sort of Least Mean Squares 
problem. There are several ways of attacking this problem, depending 
on how the problem is conditioned. If we are talking about a deterministic 
h[n], the solution is a "matched filter". If we are talking about a 
statistical description of a stochastic process, the solution is an 
"AR predictor" based on solving the Yule-Walker equations. If we are
talking about a statistical signal heavily contaminated by noise of known 
covariance structure, the solution is a "Wiener filter".

Rune
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: anybody knows how to do de-convolution? - lucy - 2004-07-30 03:00:00

"amara vati" <a...@yahoo.com> wrote in message
news:f...@posting.google.com...
> if your filter is constant, simply design the inverse filter for it.
> the simplest way is using DFT, reciprocate and IDFT. If your filter is
> variable or quasi stationary, use Adaptive signal processing
> techniques like LMS, RLS. In any case, the signals that pass thro the
> "zero" part of the spectrum of the signal cannot be  retreived back.
>
> amar
>
> "lucy" <l...@yahoo.com> wrote in message
news:<ce9dk6$7h3$1...@news.Stanford.EDU>...
> > Hi all,
> >
> > I have a filter and want to inverse the filtering step, what can I do?
> >
> > Please help me. Thanks a lot,
> >
> > -Lucy


Hi, fortunately it is static/constant, and it is something similar to a
Gaussian.

so I did the following:

f=fspecial('Gaussian', [Height, Width]);
g=abs(fftshift(fft2(f)));
mesh(g);
max(g(:))  --- 1.0000
min(g(:))   --- 0.3324

there is no zero here, so I can safely inverse this spectrum, then do IDFT,
right?

Thanks a lot




______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: anybody knows how to do de-convolution? - glen herrmannsfeldt - 2004-08-08 02:20:00

lucy wrote:

> I have a filter and want to inverse the filtering step, what can I do?

See: Deconvolution of Images and Spectra
   by Peter A. Jansson

-- glen

______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.