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

Home » Public Forums » archive » Problem discovered in bandpass_filter.pro
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: Problem discovered in bandpass_filter.pro [message #92365 is a reply to message #92302] Tue, 01 December 2015 11:16 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
Hi,

This turned out to not be a bug. Inside bandpass_filter (and bandreject_filter) we are using three different formulas: one for low-pass, one for high, and one for bandpass. For example, for the lowpass filter, you want the filter to include all of the frequencies near zero, and then gradually fall off as you get to the high-frequency cutoff. However, for the bandpass filter, *regardless* of the low-pass frequency (even if it is very close to 0), you want the response function to gradually increase from 0 to 1, and then back down to 0.

These formulas can all be found within:
Gonzalez, R.C., and R.E. Woods. Digital Image Processing, 3rd edition. Pearson Education, Upper Saddle River, New Jersey, 2008.

I've gone ahead and updated the IDL documentation to include the correct formulas, as well as some better graphs and examples.

Thanks for reporting this!

-Chris
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL 8.4 and ENVI 5.2
Next Topic: zoom at widgets

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

Current Time: Wed Oct 08 17:32:41 PDT 2025

Total time taken to generate the page: 0.00408 seconds