MATLAB Answers

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

10 views (last 30 days)
How do I convert the 2D watermarked image to 1D watermarked ECG signal before transmitting it.

  5 Comments

Show 2 older comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 22 Aug 2020
I have no idea what you are going to do in the receiver, but as per the title of question 2D to 1D, @KSSV has already answered, resulting in a 1D array. It would be more clear, if you can restructure the question again.
Prabhan Purwar
Prabhan Purwar on 24 Aug 2020
Hi,
Could you please provide a detailed explanation of what you are trying to achieve along with code you have tried.
Thanks
NANDITA SHARMA
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
Hi,
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
Thanks

More Answers (0)

Community Treasure Hunt

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

Start Hunting!