How to read a plot from an image?

12 views (last 30 days)
Nabhdeep Bansal
Nabhdeep Bansal on 25 Dec 2015
Commented: Rahul punk on 5 Mar 2019
Attached an image containing a graph. I wish to know that is there a way that MATLAB reads the graph automatically?
  2 Comments
Prashant Somani
Prashant Somani on 25 Dec 2015
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?
Nabhdeep Bansal
Nabhdeep Bansal on 25 Dec 2015
Sir, I need sets of points as answer. Scale is fixed. (The same as that in figure).

Sign in to comment.

Answers (3)

Azzi Abdelmalek
Azzi Abdelmalek on 25 Dec 2015
You can use imread to read it as an image.
  2 Comments
Nabhdeep Bansal
Nabhdeep Bansal on 25 Dec 2015
Sir, As you said, I used imread and could read the image successfully. How to read the plot lines??
Rahul punk
Rahul punk on 5 Mar 2019
mr.nabhdeep bansal you cant read graph you extracted graph data to excel to read graph line values
,,,

Sign in to comment.


Image Analyst
Image Analyst on 25 Dec 2015

Walter Roberson
Walter Roberson on 25 Dec 2015
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.

Products

Community Treasure Hunt

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

Start Hunting!