MATLAB Answers

Extract the X and Y values of curve in image

32 views (last 30 days)
Habib
Habib on 16 Jan 2020 at 14:43
Commented: Adam Danz on 17 Jan 2020 at 13:50
Hi every one.
I have an image like this
3.jpg
I want to extract X and Y curve values. Unfortunately it's .fig file was lost. I have to have its y values. I have tried codes like Nassim Grabbit, ... but they were not more helpful.
Please suggest other ways to solve my problem

  2 Comments

Adam Danz
Adam Danz on 16 Jan 2020 at 17:04
"Unfortunately it's .fig file was lost"
So you don't have access to the data nor the .fig file?

Sign in to comment.

Answers (2)

Adam Danz
Adam Danz on 17 Jan 2020 at 13:25
Without the original data or the figure file you'll have to use a digitizing program that estimates the coordinates of the curve based on the image.
You can start with Jiro's grabit(). You mentioned that you tried this but had problems. It may require some pre-processing, cleaning up the image before processing, or eliminating any objects in the image that are interfering with the extraction. That all could be done from a 3rd party image editing program.
If that doesn't work for you, perhaps there are other programs on the file exchange you could try. Here's are some suggestions.
Outside of Matlab there is GetData, Engauge Digitizer, and probably others I'm not aware of.
Depending on what the data look like in your image, you may have to edit the image before processing and you may have to play around with the options offered in each of these programs. It may not be as simple as plug-and-chug.

  0 Comments

Sign in to comment.


Image Analyst
Image Analyst on 17 Jan 2020 at 13:42

  1 Comment

Adam Danz
Adam Danz on 17 Jan 2020 at 13:50
just FYI, same as the 2nd link in my answer

Sign in to comment.

Sign in to answer this question.