How to read a plot from an image?

Attached an image containing a graph. I wish to know that is there a way that MATLAB reads the graph automatically?

2 个评论

1. What do you want as a result? Sets of point or Equation of Curve?
2. Is scale fixed? Or you want user to input scale after image reading?
Sir, I need sets of points as answer. Scale is fixed. (The same as that in figure).

请先登录,再进行评论。

回答(3 个)

Azzi Abdelmalek
Azzi Abdelmalek 2015-12-25

0 个投票

You can use imread to read it as an image.

2 个评论

Sir, As you said, I used imread and could read the image successfully. How to read the plot lines??
mr.nabhdeep bansal you cant read graph you extracted graph data to excel to read graph line values
,,,

请先登录,再进行评论。

Walter Roberson
Walter Roberson 2015-12-25

0 个投票

There are a number of tools in the File Exchange for digitizing graphs; see http://www.mathworks.com/matlabcentral/fileexchange/?term=digitize&sort=ratings_desc
I do not think any of them are fully automated though; that would require a lot of OCR work.

类别

帮助中心File Exchange 中查找有关 Convert Image Type 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by