Self-Attention MHDNet: A Novel Deep Learning Model for the Detection of R-Peaks in the Electrocardiogram Signals Corrupted with Magnetohydrodynamic Effect

Magnetic resonance imaging (MRI) is commonly used in medical diagnosis and minimally invasive image-guided operations. During an MRI scan, the patient’s electrocardiogram (ECG) may be required for either gating or patient monitoring. However, the challenging environment of an MRI scanner, with its several types of magnetic fields, creates significant distortions of the collected ECG data due to the Magnetohydrodynamic (MHD) effect. These changes can be seen as irregular heartbeats. These distortions and abnormalities hamper the detection of QRS complexes, and a more in-depth diagnosis based on the ECG. This study aims to reliably detect R-peaks in the ECG waveforms in 3 Tesla (T) and 7T magnetic fields. A novel model, Self-Attention MHDNet, is proposed to detect R peaks from the MHD corrupted ECG signal through 1D-segmentation. The proposed model achieves a recall and precision of 99.83% and 99.68%, respectively, for the ECG data acquired in a 3T setting, while 99.87% and 99.78%, respectively, in a 7T setting. This model can thus be used in accurately gating the trigger pulse for the cardiovascular functional MRI.

[1]  Mahdi H. Miraz,et al.  An Automatic Premature Ventricular Contraction Recognition System Based on Imbalanced Dataset and Pre-Trained Residual Network Using Transfer Learning on ECG Signal , 2022, Diagnostics.

[2]  Zubaer Md. Abdullah Al,et al.  Improving R Peak Detection in ECG Signal Using Dynamic Mode Selected Energy and Adaptive Window Sizing Algorithm with Decision Tree Algorithm , 2021, Sensors.

[3]  Moncef Gabbouj,et al.  Robust Peak Detection for Holter ECGs by Self-Organized Operational Neural Networks , 2021, IEEE Transactions on Neural Networks and Learning Systems.

[4]  A. Murat Tekalp,et al.  Self-Organized Residual Blocks For Image Super-Resolution , 2021, 2021 IEEE International Conference on Image Processing (ICIP).

[5]  A. Murat Tekalp,et al.  Self-Organized Variational Autoencoders (Self-Vae) For Learned Image Compression , 2021, 2021 IEEE International Conference on Image Processing (ICIP).

[6]  M. Barth,et al.  7-Tesla Functional Cardiovascular MR Using Vectorcardiographic Triggering—Overcoming the Magnetohydrodynamic Effect , 2021, medRxiv.

[7]  Moncef Gabbouj,et al.  Convolutional versus Self-Organized Operational Neural Networks for Real-World Blind Image Denoising , 2021, ArXiv.

[8]  Moncef Gabbouj,et al.  Self-Organized Operational Neural Networks for Severe Image Restoration Problems , 2020, Neural Networks.

[9]  Khandaker F. Islam,et al.  Reliable Tuberculosis Detection Using Chest X-Ray With Deep Learning, Segmentation and Visualization , 2020, IEEE Access.

[10]  Ridha Ouni,et al.  Electrocardiogram heartbeat classification based on a deep convolutional neural network and focal loss , 2020, Comput. Biol. Medicine.

[11]  Alexandros Iosifidis,et al.  Self-Organized Operational Neural Networks with Generative Neurons , 2020, Neural Networks.

[12]  Mohanasankar Sivaprakasam,et al.  RPnet: A Deep Learning approach for robust R Peak detection in noisy ECG , 2020, 2020 42nd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC).

[13]  Alexandros Iosifidis,et al.  Operational neural networks , 2019, Neural Computing and Applications.

[14]  U. Rajendra Acharya,et al.  Automated beat-wise arrhythmia diagnosis using modified U-net on extended electrocardiographic recordings with heterogeneous arrhythmia types , 2019, Comput. Biol. Medicine.

[15]  K Fehrs,et al.  Doppler ultrasound triggering for cardiac MRI at 7T , 2018, Magnetic resonance in medicine.

[16]  Jeanette Schulz-Menger,et al.  Representation of cardiovascular magnetic resonance in the AHA / ACC guidelines , 2017, Journal of Cardiovascular Magnetic Resonance.

[17]  Georg Rose,et al.  A database of electrocardiogram signals acquired in different magnetic resonance imaging scanners , 2017, 2017 Computing in Cardiology (CinC).

[18]  Yasuyuki Suzuki,et al.  Three-dimensional Cardiac MR Imaging: Related Techniques and Clinical Applications , 2017, Magnetic resonance in medical sciences : MRMS : an official journal of Japan Society of Magnetic Resonance in Medicine.

[19]  Abdenbi Abenaou,et al.  ECG signal performance de-noising assessment based on threshold tuning of dual-tree wavelet transform , 2017, BioMedical Engineering OnLine.

[20]  Stefan K. Piechnik,et al.  Reference ranges for cardiac structure and function using cardiovascular magnetic resonance (CMR) in Caucasians from the UK Biobank population cohort , 2017, Journal of Cardiovascular Magnetic Resonance.

[21]  Serge J. Belongie,et al.  Feature Pyramid Networks for Object Detection , 2016, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[22]  M. Ladd,et al.  Initial evaluation of prospective cardiac triggering using photoplethysmography signals recorded with a video camera compared to pulse oximetry and electrocardiography at 7T MRI , 2016, Biomedical engineering online.

[23]  Sandeep Raj,et al.  Cardiac arrhythmia beat classification using DOST and PSO tuned SVM , 2016, Comput. Methods Programs Biomed..

[24]  Omar Escalona,et al.  Denoising and automated R-peak detection in the ECG using Discrete Wavelet Transform , 2016, 2016 Computing in Cardiology Conference (CinC).

[25]  Georg Rose,et al.  Reducing of gradient induced artifacts on the ECG signal during MRI examinations using Wilcoxon filter , 2016 .

[26]  Leidong Mao,et al.  The Magnetohydrodynamic Effect and Its Associated Material Designs for Biomedical Applications: A State‐of‐the‐Art Review , 2016, Advanced functional materials.

[27]  Pornchai Phukpattaranont,et al.  Application of wavelet transform and Shannon energy on R peak detection algorithm , 2016, 2016 13th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON).

[28]  Atman Jbari,et al.  Adaptive ECG Wavelet analysis for R-peaks detection , 2016, 2016 International Conference on Electrical and Information Technologies (ICEIT).

[29]  Wei Li,et al.  Imaging of congenital heart disease in adults. , 2016, European heart journal.

[30]  J. Timmer,et al.  In vitro study to simulate the intracardiac magnetohydrodynamic effect , 2015, Magnetic resonance in medicine.

[31]  Thomas Brox,et al.  U-Net: Convolutional Networks for Biomedical Image Segmentation , 2015, MICCAI.

[32]  Alireza Mehrnia,et al.  Automatic detection of atrial fibrillation using stationary wavelet transform and support vector machine , 2015, Comput. Biol. Medicine.

[33]  Gari D Clifford,et al.  ECG-based gating in ultra high field cardiovascular magnetic resonance using an independent component analysis approach , 2013, Journal of Cardiovascular Magnetic Resonance.

[34]  D Stucht,et al.  Limitations of VCG based gating methods in ultra high field cardiac MRI , 2013, Journal of Cardiovascular Magnetic Resonance.

[35]  J. Oster,et al.  Filtering the magnetohydrodynamic effect from 12-lead ECG signals using Independent Component Analysis , 2012, 2012 Computing in Cardiology.

[36]  P J Kilner,et al.  Imaging congenital heart disease in adults. , 2011, The British journal of radiology.

[37]  Georg Rose,et al.  Magnetohydrodynamic distortions of the ECG in different MR scanner configurations , 2011, 2011 Computing in Cardiology.

[38]  V. Robin,et al.  Alterations in human ECG due to the MagnetoHydroDynamic effect: A method for accurate R peak detection in the presence of high MHD artifacts , 2007, 2007 29th Annual International Conference of the IEEE Engineering in Medicine and Biology Society.

[39]  Vincent Robin,et al.  Cardiac and Respiratory MRI Gating Using Combined Wavelet Sub-Band Decomposition and Adaptive Filtering , 2007, Annals of Biomedical Engineering.

[40]  André Briguet,et al.  Reference signal extraction from corrupted ECG using wavelet decomposition for MRI sequence triggering: application to small animals , 2006, Biomedical engineering online.

[41]  C H Lorenz,et al.  Performance of QRS detection for cardiac magnetic resonance imaging with a novel vectorcardiographic triggering method , 2000, Journal of magnetic resonance imaging : JMRI.

[42]  C H Lorenz,et al.  Novel real‐time R‐wave detection algorithm based on the vectorcardiogram for accurate gated magnetic resonance acquisitions , 1999, Magnetic resonance in medicine.

[43]  Willis J. Tompkins,et al.  A Real-Time QRS Detection Algorithm , 1985, IEEE Transactions on Biomedical Engineering.

[44]  Sarmad Maqsood,et al.  Modified Block Compressed Sensing for Extraction of Fetal Electrocardiogram from Mother Electrocardiogram Using Block Compressed Sensing Based Guided FOCUSS and FAST-Independent Component , 2021, Inf. Technol. Control..

[45]  Georg Rose,et al.  Progress of MRI-guided EP Interventions is Hampered by a Lack of ECG-based Patient Monitoring - An Engineering Perspective , 2019, BIOSIGNALS.

[46]  Ki H. Chon,et al.  An Accurate QRS Complex and P Wave Detection in ECG Signals Using Complete Ensemble Empirical Mode Decomposition with Adaptive Noise Approach , 2019, IEEE Access.

[47]  F. Prinzen,et al.  Vectorcardiographic QRS area as a novel predictor of response to cardiac resynchronization therapy. , 2015, Journal of electrocardiology.

[48]  Raphael Sablong,et al.  An Optical Fiber-Based Gating Device for Prospective Mouse Cardiac MRI , 2014, IEEE Transactions on Biomedical Engineering.

[49]  Matthias Gutberlet,et al.  Feasibility of real-time magnetic resonance imaging-guided electrophysiology studies in humans. , 2013, Europace : European pacing, arrhythmias, and cardiac electrophysiology : journal of the working groups on cardiac pacing, arrhythmias, and cardiac cellular electrophysiology of the European Society of Cardiology.

[50]  Madhuchhanda Mitra,et al.  R-Peak Detection Algorithm for Ecg using Double Difference And RR Interval Processing , 2012 .

[51]  Aditya Gupta,et al.  Signal Processing Of An Ecg Signal In The Presence Of A Strong Static Magnetic Field , 2007 .

[52]  S. Dymarkowski,et al.  Clinical cardiac MRI , 2005 .

[53]  Gari D. Clifford,et al.  Signal processing methods for heart rate variability , 2002 .

[54]  Jeffrey M. Hausdorff,et al.  Physionet: Components of a New Research Resource for Complex Physiologic Signals". Circu-lation Vol , 2000 .

[55]  T. Tenforde,et al.  Theoretical analysis of magnetic field interactions with aortic blood flow. , 1996, Bioelectromagnetics.