FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2009, 01:53 AM
sauwen
Guest
 
Posts: n/a
Default opposite of a filter

Once you filter a signal, what is the best way to get the original signa
back?

Thanks..
Reply With Quote
  #2 (permalink)  
Old 05-07-2009, 02:05 AM
Andrew
Guest
 
Posts: n/a
Default Re: opposite of a filter

"sauwen" <[email protected]>

> Once you filter a signal, what is the best way to get the original signal
> back?


Use a time machine.

> Thanks..


You're welcome.

--
Andrew


Reply With Quote
  #3 (permalink)  
Old 05-07-2009, 02:20 AM
sauwen
Guest
 
Posts: n/a
Default Re: opposite of a filter

>"sauwen" <[email protected]>
>
>> Once you filter a signal, what is the best way to get the origina

signal
>> back?

>
>Use a time machine.
>
>> Thanks..

>
>You're welcome.
>
>--
>Andrew
>
>
>

Ha ha.. If only one exists.
Seriously, is there a way? I.e. with a simple filter?
Thanks!
Reply With Quote
  #4 (permalink)  
Old 05-07-2009, 02:24 AM
sauwen
Guest
 
Posts: n/a
Default Re: opposite of a filter

>"sauwen" <[email protected]>
>
>> Once you filter a signal, what is the best way to get the origina

signal
>> back?

>
>Use a time machine.
>
>> Thanks..

>
>You're welcome.
>
>--
>Andrew
>
>
>

Ha ha.. If only one exists.
Seriously, is there a way? I.e. with a simple filter?
Thanks!
Reply With Quote
  #5 (permalink)  
Old 05-07-2009, 02:25 AM
Jerry Avins
Guest
 
Posts: n/a
Default Re: opposite of a filter

sauwen wrote:
>> "sauwen" <[email protected]>
>>
>>> Once you filter a signal, what is the best way to get the original

> signal
>>> back?

>> Use a time machine.
>>
>>> Thanks..

>> You're welcome.
>>
>> --
>> Andrew
>>
>>
>>

> Ha ha.. If only one exists.
> Seriously, is there a way? I.e. with a simple filter?
> Thanks!


There is no way to retrieve the original signal if the filter eliminates
part of the signal. If the filter merely reshaped the frequency response
without eliminating any part of it, a complementary filter can restore
the original. See preemphasis. deemphasis.

Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Reply With Quote
  #6 (permalink)  
Old 05-07-2009, 03:41 AM
Tim Wescott
Guest
 
Posts: n/a
Default Re: opposite of a filter

On Wed, 06 May 2009 20:25:08 -0400, Jerry Avins wrote:

> sauwen wrote:
>>> "sauwen" <[email protected]>
>>>
>>>> Once you filter a signal, what is the best way to get the original

>> signal
>>>> back?
>>> Use a time machine.
>>>
>>>> Thanks..
>>> You're welcome.
>>>
>>> --
>>> Andrew
>>>
>>>
>>>

>> Ha ha.. If only one exists.
>> Seriously, is there a way? I.e. with a simple filter? Thanks!

>
> There is no way to retrieve the original signal if the filter eliminates
> part of the signal. If the filter merely reshaped the frequency response
> without eliminating any part of it, a complementary filter can restore
> the original. See preemphasis. deemphasis.
>

I.e. if the filter has a zero at some frequency, that portion of the
signal is irretrievably lost. Worse, what you get out of a real filter
is filtered signal + a bit of noise, so where the filter attenuates the
signal a great deal you've effectively lost the original information
regardless of what a light reading of the theory may say.

--
http://www.wescottdesign.com
Reply With Quote
  #7 (permalink)  
Old 05-07-2009, 04:05 AM
HardySpicer
Guest
 
Posts: n/a
Default Re: opposite of a filter

On May 7, 11:53*am, "sauwen" <sauwen...@gmail.com> wrote:
> Once you filter a signal, what is the best way to get the original signal
> back?
>
> Thanks..


Deconvolution is the way - at least optimal in the sense of least
squares.

Hardy
Reply With Quote
  #8 (permalink)  
Old 05-07-2009, 06:36 AM
glen herrmannsfeldt
Guest
 
Posts: n/a
Default Re: opposite of a filter

HardySpicer <[email protected]> wrote:
> On May 7, 11:53?am, "sauwen" <sauwen...@gmail.com> wrote:


>> Once you filter a signal, what is the best way to get
>> the original signal back?


> Deconvolution is the way - at least optimal in the sense
> of least squares.


Sometimes you can just invert the filter, but yes I believe
that deconvolution is better in many cases. I recommend
"Deconvolution of Images and Spectra" by Jansson, especially
for non-linear deconvolution.

-- glen
Reply With Quote
  #9 (permalink)  
Old 05-07-2009, 10:39 AM
Paul Russell
Guest
 
Posts: n/a
Default Re: opposite of a filter

glen herrmannsfeldt wrote:
> HardySpicer <[email protected]> wrote:
>> On May 7, 11:53?am, "sauwen" <sauwen...@gmail.com> wrote:

>
>>> Once you filter a signal, what is the best way to get
>>> the original signal back?

>
>> Deconvolution is the way - at least optimal in the sense
>> of least squares.

>
> Sometimes you can just invert the filter, but yes I believe
> that deconvolution is better in many cases. I recommend
> "Deconvolution of Images and Spectra" by Jansson, especially
> for non-linear deconvolution.
>


What is the difference between deconvolution and inverse filtering ? I
thought they were the same thing (at least for linear systems) ?

Paul
Reply With Quote
  #10 (permalink)  
Old 05-07-2009, 11:28 AM
Rune Allnor
Guest
 
Posts: n/a
Default Re: opposite of a filter

On 7 Mai, 10:39, Paul Russell <pruss...@sonic.net> wrote:
> glen herrmannsfeldt wrote:
> > HardySpicer <gyansor...@gmail.com> wrote:
> >> On May 7, 11:53?am, "sauwen" <sauwen...@gmail.com> wrote:

>
> >>> Once you filter a signal, what is the best way to get
> >>> the original signal back?

>
> >> Deconvolution is the way - at least optimal in the sense
> >> of least squares.

>
> > Sometimes you can just invert the filter, but yes I believe
> > that deconvolution is better in many cases. *I recommend
> > "Deconvolution of Images and Spectra" by Jansson, especially
> > for non-linear deconvolution.

>
> What is the difference between deconvolution and inverse filtering ? I
> thought they were the same thing (at least for linear systems) ?


For all intents and purposes, 'inverse filtering; is one
of many ways to do deconvolution.

If our filter is known to you has the right properties
(all zeros and poles strictly inside the unit circle),
the inverse filer will work, except for numerical artifacts.
The ideal situation where everything works your way (filter
is known, parameters favorable) doesn't occur very often.

'Deconvloution' covers all the other cases where you
either have only crude information about the filter,
and/or the inverse filter becomes unstable.

Rune
Reply With Quote
  #11 (permalink)  
Old 05-07-2009, 12:11 PM
glen herrmannsfeldt
Guest
 
Posts: n/a
Default Re: opposite of a filter

Paul Russell <[email protected]> wrote:

> What is the difference between deconvolution and inverse filtering ? I
> thought they were the same thing (at least for linear systems) ?


Jansson mostly discusses non-linear deconvolution. He considers
the problem of absorption spectra, which must be between zero
(no absorption) and one (complete absorption). If you do linear
deconvolution on signals with noise, the result can easily go
negative or above one. Non-linear deconvolution with constraints
can, it seems, give much better results.

-- glen
Reply With Quote
  #12 (permalink)  
Old 05-07-2009, 12:14 PM
glen herrmannsfeldt
Guest
 
Posts: n/a
Default Re: opposite of a filter

Rune Allnor <[email protected]> wrote:
(snip)

> For all intents and purposes, 'inverse filtering; is one
> of many ways to do deconvolution.


> If our filter is known to you has the right properties
> (all zeros and poles strictly inside the unit circle),
> the inverse filer will work, except for numerical artifacts.
> The ideal situation where everything works your way (filter
> is known, parameters favorable) doesn't occur very often.


> 'Deconvloution' covers all the other cases where you
> either have only crude information about the filter,
> and/or the inverse filter becomes unstable.


One of the favorite examples being the original Hubble
telescope. The mirror was ground very precisely to the
wrong curve, such that the point spread function
(impulse response in DSP) was known very accurately.

For many signals, they could apply deconvolution and
correct for the distortions.

-- glen
Reply With Quote
  #13 (permalink)  
Old 05-07-2009, 06:32 PM
Eric Jacobsen
Guest
 
Posts: n/a
Default Re: opposite of a filter

On Thu, 7 May 2009 10:14:38 +0000 (UTC), glen herrmannsfeldt
<[email protected]> wrote:

>Rune Allnor <[email protected]> wrote:
>(snip)
>
>> For all intents and purposes, 'inverse filtering; is one
>> of many ways to do deconvolution.

>
>> If our filter is known to you has the right properties
>> (all zeros and poles strictly inside the unit circle),
>> the inverse filer will work, except for numerical artifacts.
>> The ideal situation where everything works your way (filter
>> is known, parameters favorable) doesn't occur very often.

>
>> 'Deconvloution' covers all the other cases where you
>> either have only crude information about the filter,
>> and/or the inverse filter becomes unstable.

>
>One of the favorite examples being the original Hubble
>telescope. The mirror was ground very precisely to the
>wrong curve, such that the point spread function
>(impulse response in DSP) was known very accurately.
>
>For many signals, they could apply deconvolution and
>correct for the distortions.
>
>-- glen


I thought Hubble had a spherical abberation that wasn't detected
because they skimped on the testing?

Eric Jacobsen
Minister of Algorithms
Abineau Communications
http://www.ericjacobsen.org

Blog: http://www.dsprelated.com/blogs-1/hf/Eric_Jacobsen.php
Reply With Quote
  #14 (permalink)  
Old 05-07-2009, 07:01 PM
Jerry Avins
Guest
 
Posts: n/a
Default Re: opposite of a filter

Eric Jacobsen wrote:

...

> I thought Hubble had a spherical abberation that wasn't detected
> because they skimped on the testing?


The tests showed that the specified curve was accurately figured. The
very expensive test they didn't do would have shown that the spec was wrong.

Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Reply With Quote
  #15 (permalink)  
Old 05-07-2009, 08:00 PM
Eric Jacobsen
Guest
 
Posts: n/a
Default Re: opposite of a filter

On Thu, 07 May 2009 13:01:07 -0400, Jerry Avins <[email protected]> wrote:

>Eric Jacobsen wrote:
>
> ...
>
>> I thought Hubble had a spherical abberation that wasn't detected
>> because they skimped on the testing?

>
>The tests showed that the specified curve was accurately figured. The
>very expensive test they didn't do would have shown that the spec was wrong.
>
>Jerry


Ah, thanks for the clarification.

Eric Jacobsen
Minister of Algorithms
Abineau Communications
http://www.ericjacobsen.org

Blog: http://www.dsprelated.com/blogs-1/hf/Eric_Jacobsen.php
Reply With Quote
  #16 (permalink)  
Old 05-07-2009, 10:14 PM
glen herrmannsfeldt
Guest
 
Posts: n/a
Default Re: opposite of a filter

Eric Jacobsen <[email protected]> wrote:

> I thought Hubble had a spherical abberation that wasn't detected
> because they skimped on the testing?


It has been a while now, but I believe it was in Discover magazine
that I read the whole story. I don't think I would have described
it as "scimped on testing" but maybe. Even more, they had two
different groups each make one, and the other one was right.

At www.spacetelescope.org they call it a "malfunction of a
measuring device." I didn't find a good reference to exactly
what went wrong, though. As well as I remember it, the testing
involves another mirror at a certain distance away, and the measuring
device put it at the wrong distance. I also don't remember
if the mirror is spherical, but the difference between where
it was supposed to be and is, is (close enough to) spherical.

-- glen
Reply With Quote
  #17 (permalink)  
Old 05-07-2009, 10:22 PM
Paul Russell
Guest
 
Posts: n/a
Default Re: opposite of a filter

glen herrmannsfeldt wrote:
> Rune Allnor <[email protected]> wrote:
> (snip)
>
>> For all intents and purposes, 'inverse filtering; is one
>> of many ways to do deconvolution.

>
>> If our filter is known to you has the right properties
>> (all zeros and poles strictly inside the unit circle),
>> the inverse filer will work, except for numerical artifacts.
>> The ideal situation where everything works your way (filter
>> is known, parameters favorable) doesn't occur very often.

>
>> 'Deconvloution' covers all the other cases where you
>> either have only crude information about the filter,
>> and/or the inverse filter becomes unstable.

>
> One of the favorite examples being the original Hubble
> telescope. The mirror was ground very precisely to the
> wrong curve, such that the point spread function
> (impulse response in DSP) was known very accurately.
>
> For many signals, they could apply deconvolution and
> correct for the distortions.
>


Thanks, both, for the clarification.

Paul
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating filter coefficients from magnitude squared filter [email protected] DSP 2 06-29-2007 07:46 PM
transition from frequency filter (LPF etc.) to noise filter (Kalman filter) Zulkifli DSP 0 02-24-2005 08:43 AM
Sigma-Delta Modulation into Butterworth Filter versus Ideal Lowpass Filter Jeremy Smith DSP 9 11-02-2004 09:59 PM
Re: Opposite case for deblurring Jerry Avins DSP 1 10-28-2004 04:26 AM
Opposite of Mu-law? Curious DSP 37 05-26-2004 12:32 AM


All times are GMT +1. The time now is 01:01 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved