How can I automate the process of digitizing a line plot from an image using MATLAB?

18 Ansichten (letzte 30 Tage)
How can I automate the process of digitizing a plot from an image using MATLAB? I have an image of the plot and I would like to extract the plotted data from it automatically using MATLAB, and generate a MATLAB figure.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 28 Okt. 2025
Bearbeitet: MathWorks Support Team am 5 Nov. 2025
Digitizing a line plot from an image can be done in MATLAB using functions from the Image Processing Toolbox. You can read the following in-depth blog posts that demonstrate how to extract data from a line plot.
As noted in the blog post, "automatability[...]depends markedly on the ability to exploit similarities in the data set (images)." This is to say that the ability to automate depends on the amount of preprocessing that must be done to make each image resemble each other. For example, if one image has a large watermark across its entire graph, this could entail a different set of preprocessing steps as compared to an image without such a watermark.
However, there are also many community contributions at MATLAB File Exchange that offer solutions for this feature:

Weitere Antworten (0)

Produkte


Version

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by