Show all scripts

Butterworth Filter

Category: Image Filters
Description: Example script function which calculates a Butterworth filter function. This can be used for low pass or high pass filtering of FFTs (simply multiply the FFT by the filter. As written the filter will remove the high frequency component. If the Butterworth filter is inverted, it can remove the low frequency component. Adjust the Butterworth parameters to vary the slope and cutoff.
Comments: There is a limitation (or conflict) in User Defined Language with DM script. The operation "/" and "*" cannot be defined as operators in Notepad++ once we define "/*" and "*/" as comment block markers. So I have left "/" and "*" out from the operator list
Script version: 1.0
DM/GMS version: 3.11.0
Script written as a function: Yes
Source: Show code
Download Source Code: Download
Download Zip File: Download