butter2d
Pure Rust Implementation of the Butterworth Filter
✨ Live WASM Demo
Try the interactive Butterworth filter demo directly in your browser, built with WebAssembly:
➡️ Live Demo Link ⬅️
Overview
The Butterworth filter offers a more robust method for applying spatial frequency filters to images compared to traditional FFT/IFFT-based methods. Filters with sharp cutoffs can often lead to the Gibbs phenomenon, where undesirable ringing artifacts appear near edges in the image. This issue is particularly problematic in applications such as EEG experiments (particularly low/mid visual ones that affect P100 amplitudes in the visual cortex) and other scenarios involving low-frequency signals.
Usage
cargo add butter2d
use ;
use butterworth;