Extract the X and Y values of curve in image

31 views (last 30 days)
Habib
Habib on 16 Jan 2020
Commented: Image Analyst on 27 Mar 2020
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
  4 Comments
JohnE
JohnE on 26 Mar 2020
If anyone is interested, we have launched a free graph digitizer. You can use it to extract 1000's of points on a spectral curve in seconds. Give it a try and let me know what you think.
https://www.opticsforhire.com/graph-digitizer
John
Image Analyst
Image Analyst on 27 Mar 2020
Why not put it in the MATLAB Central File Exchange?

Sign in to comment.

Answers (2)

Adam Danz
Adam Danz on 17 Jan 2020
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.

Image Analyst
Image Analyst on 17 Jan 2020

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!