How to extract curve data from such a JPEG image?

8 views (last 30 days)
When I use a machine to record the ECG data, it can only save as .jpg format, just like the figure I show in the below.
But I want to extract the green line digital data. The problem is that the three green lines data are continues, I wonder if I can use some methods to extract green line data and combine them together?
YihanMa_Happy_Page2.jpg

Accepted Answer

darova
darova on 19 Jul 2019
Try this simple script. Like it please
We have a picture with green pixels. What we gonna do now?
  4 Comments
Rik
Rik on 20 Jul 2019
Can't you convert the lines to pixel height? Then you can use the value of the last point from the first line as the offset for the second line.
Yihan Ma
Yihan Ma on 20 Jul 2019
Got it, I can use 'impixelinfo' to chck the position of the pixels, thx!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!