Updated 5 Oct 2016
DIGITIZEIMG2 Starts a GUI for digitizing graphs.
Can be used for multiple data sets per graph and NOs
if a data point is marked incorrectly.
Follow the instructions of the GUI.
RIGHT CLICK: Choose data point
LEFT CLICK: Finish
MIDDLE MOUSE BUTTON: NO of the last data point
opens an file picker. Can only be used on data types that are
compatible with IMREAD.
After choosing a file, a GUI will open that will guide you through
the steps required for extracting the data.
If called without outputs, the data is saved in a MAT
ImgData = digitizeImg2;
Saves the data in the matrix/struct ImgData (struct if more than one data set).
To choose the file directly.
see also: IMREAD, IMFINFO
- filename: file name of the image to be digitized (optional)
- ImgData: X- and Y-coordinates of the digitized graphs
Author: Marc Jakobi - 15.12.2015
Original versions: digitize (by J.D.Cogdell) / digitize2 (by A. Prasad)
Marc Jakobi (2023). digitizeImg (https://www.mathworks.com/matlabcentral/fileexchange/59507-digitizeimg), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: digitize2.m, digitize
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.