ECG signal baseline filtering using Savitzky-Golay, Zero-phase Butterworth and Wavelets filters
- QT5Core
- Eigen3
- Clone this repo
- Run inside the repo:
cmake ./
- Then run:
make
After following the compiling steps above, you can run the code by executing
./ecg-baseline
The code will read the ECG sample data from ecgdata.cpp and output 4 files:
- signal_base.txt: the original ECG data
- wavelet.txt: wavelet filtering
- butterworth.txt: butterworth filtering
- savitzkygolay.txt: Savitzky-Golay filtering