Cargando…

A Denoising and Fourier Transformation-Based Spectrograms in ECG Classification Using Convolutional Neural Network

The non-invasive electrocardiogram (ECG) signals are useful in heart condition assessment and are found helpful in diagnosing cardiac diseases. However, traditional ways, i.e., a medical consultation required effort, knowledge, and time to interpret the ECG signals due to the large amount of data an...

Descripción completa

Detalles Bibliográficos
Autores principales: Safdar, Muhammad Farhan, Nowak, Robert Marek, Pałka, Piotr
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9780813/
https://www.ncbi.nlm.nih.gov/pubmed/36559944
http://dx.doi.org/10.3390/s22249576
_version_ 1784856920943755264
author Safdar, Muhammad Farhan
Nowak, Robert Marek
Pałka, Piotr
author_facet Safdar, Muhammad Farhan
Nowak, Robert Marek
Pałka, Piotr
author_sort Safdar, Muhammad Farhan
collection PubMed
description The non-invasive electrocardiogram (ECG) signals are useful in heart condition assessment and are found helpful in diagnosing cardiac diseases. However, traditional ways, i.e., a medical consultation required effort, knowledge, and time to interpret the ECG signals due to the large amount of data and complexity. Neural networks have been shown to be efficient recently in interpreting the biomedical signals including ECG and EEG. The novelty of the proposed work is using spectrograms instead of raw signals. Spectrograms could be easily reduced by eliminating frequencies with no ECG information. Moreover, spectrogram calculation is time-efficient through short-time Fourier transformation (STFT) which allowed to present reduced data with well-distinguishable form to convolutional neural network (CNN). The data reduction was performed through frequency filtration by taking a specific cutoff value. These steps makes architecture of the CNN model simple which showed high accuracy. The proposed approach reduced memory usage and computational power through not using complex CNN models. A large publicly available PTB-XL dataset was utilized, and two datasets were prepared, i.e., spectrograms and raw signals for binary classification. The highest accuracy of 99.06% was achieved by the proposed approach, which reflects spectrograms are better than the raw signals for ECG classification. Further, up- and down-sampling of the signals were also performed at various sampling rates and accuracies were attained.
format Online
Article
Text
id pubmed-9780813
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-97808132022-12-24 A Denoising and Fourier Transformation-Based Spectrograms in ECG Classification Using Convolutional Neural Network Safdar, Muhammad Farhan Nowak, Robert Marek Pałka, Piotr Sensors (Basel) Article The non-invasive electrocardiogram (ECG) signals are useful in heart condition assessment and are found helpful in diagnosing cardiac diseases. However, traditional ways, i.e., a medical consultation required effort, knowledge, and time to interpret the ECG signals due to the large amount of data and complexity. Neural networks have been shown to be efficient recently in interpreting the biomedical signals including ECG and EEG. The novelty of the proposed work is using spectrograms instead of raw signals. Spectrograms could be easily reduced by eliminating frequencies with no ECG information. Moreover, spectrogram calculation is time-efficient through short-time Fourier transformation (STFT) which allowed to present reduced data with well-distinguishable form to convolutional neural network (CNN). The data reduction was performed through frequency filtration by taking a specific cutoff value. These steps makes architecture of the CNN model simple which showed high accuracy. The proposed approach reduced memory usage and computational power through not using complex CNN models. A large publicly available PTB-XL dataset was utilized, and two datasets were prepared, i.e., spectrograms and raw signals for binary classification. The highest accuracy of 99.06% was achieved by the proposed approach, which reflects spectrograms are better than the raw signals for ECG classification. Further, up- and down-sampling of the signals were also performed at various sampling rates and accuracies were attained. MDPI 2022-12-07 /pmc/articles/PMC9780813/ /pubmed/36559944 http://dx.doi.org/10.3390/s22249576 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Safdar, Muhammad Farhan
Nowak, Robert Marek
Pałka, Piotr
A Denoising and Fourier Transformation-Based Spectrograms in ECG Classification Using Convolutional Neural Network
title A Denoising and Fourier Transformation-Based Spectrograms in ECG Classification Using Convolutional Neural Network
title_full A Denoising and Fourier Transformation-Based Spectrograms in ECG Classification Using Convolutional Neural Network
title_fullStr A Denoising and Fourier Transformation-Based Spectrograms in ECG Classification Using Convolutional Neural Network
title_full_unstemmed A Denoising and Fourier Transformation-Based Spectrograms in ECG Classification Using Convolutional Neural Network
title_short A Denoising and Fourier Transformation-Based Spectrograms in ECG Classification Using Convolutional Neural Network
title_sort denoising and fourier transformation-based spectrograms in ecg classification using convolutional neural network
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9780813/
https://www.ncbi.nlm.nih.gov/pubmed/36559944
http://dx.doi.org/10.3390/s22249576
work_keys_str_mv AT safdarmuhammadfarhan adenoisingandfouriertransformationbasedspectrogramsinecgclassificationusingconvolutionalneuralnetwork
AT nowakrobertmarek adenoisingandfouriertransformationbasedspectrogramsinecgclassificationusingconvolutionalneuralnetwork
AT pałkapiotr adenoisingandfouriertransformationbasedspectrogramsinecgclassificationusingconvolutionalneuralnetwork
AT safdarmuhammadfarhan denoisingandfouriertransformationbasedspectrogramsinecgclassificationusingconvolutionalneuralnetwork
AT nowakrobertmarek denoisingandfouriertransformationbasedspectrogramsinecgclassificationusingconvolutionalneuralnetwork
AT pałkapiotr denoisingandfouriertransformationbasedspectrogramsinecgclassificationusingconvolutionalneuralnetwork