comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Butterworth Band-Pass Filter
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Butterworth Band-Pass Filter [message #73915 is a reply to message #73914] Sun, 12 December 2010 08:29 Go to previous messageGo to previous message
burton449 is currently offline  burton449
Messages: 15
Registered: December 2010
Junior Member
On Dec 11, 11:37 pm, David Fanning <n...@dfanning.com> wrote:
> burton449 writes:
>> as mentionned in the topic, i want to do a Butterworth Band-Pass
>> Filter on a 9166 X 4600 pixels image.
>
>> The doc of butterworth.pro in the astrolib explain how to use the
>> script for a lowpass filter, but not for a band-pass and a high-pass.
>
>> Have any idea how to do?
>
> You need to read my new book. In the meantime, you
> can find an explanation here:
>
>   http://www.dfanning.com/ip_tips/freqfiltering.html
>
> This describes a low-pass filter, but the equation for
> the high-pass filter is there, too. Just replace the
> low-pass filter with the high-pass version. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Thank you again David for your help,

According to your documentation, a high-pass butterworth filter will
be defined like that:
filter = 1 / [1 + C(Ro/R)^2n]

So in IDL, for a cuttoff of 15, and freqImage = FFT(image, -1), the
filter will be defined like that:
filter = 1.0 / ( 1.0d + (15.0/freqImage)^2 )

Is it right?
Thanks again
Max
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Over-PLOT() on MAP()?
Next Topic: Run envi routine in IDL Virtual MAchine

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:55:32 PDT 2025

Total time taken to generate the page: 0.87946 seconds