MATLAB Answers

How to convert 2D ECG image to 1D ECG signal?

31 views (last 30 days)
How do I convert the 2D watermarked image to 1D watermarked ECG signal before transmitting it.
NANDITA SHARMA on 25 Aug 2020
Hello Sir,
First i have loaded the "100m.mat" file and got the 1D ECG signal from that. Then i have used the Pan-Tompkins algorithm to convert the 1D ECG signal to 2D ECG image. After doing all the embedding processes, I want to convert the watermarked image to the 1D signal before transmitting to the receiver.
When i have tried the reshape function for the 2D to 1D conversion, then i have to use reshape() only at the receiver side to get the 1D to 2D image. Sir, i want to ask you that is there any other way of conversion of 2D image to 1D ECG signal so that i can follow the same steps that i have done in sender side, i.e., using Pan-Tompkins algorithm for the 1D to 2D conversion. I am using the online matlab platform, that's why i am unable to add my .m file here.
As i am new to this field, i am getting stuck in the basic steps.
Thank you for reconsidering my doubts.

Sign in to comment.

Accepted Answer

Prabhan Purwar
Prabhan Purwar on 28 Aug 2020
Pan Tompkins algorithm is commonly used to detect QRS complexes in ECG signals through various filtering processes. There is no straight forward way to get back the ECG signal from an Image (may look over some papers that do so using Deep learning algo). For more insights upon Watermarking kindly go through the following link

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!