Picture2data软件把图片里的曲线转化成数字
在做研究的时候,有时会需要重画别人论文图片里的曲线,但是又没有原始的数据,怎么办?笔者开发了Picture2data软件可以把图片里的曲线转化成数字(下载链接:https://www.researchgate.net/project/Picture2data-software)
软件使用说明如下:
Step0: 将MATLAB目录改为Picture2data.mlApp所在的目录,并将Picture2data.mlApp移到MATLAB命令行窗口,即可打开软件,如下图所示
Change the directory of MATLAB to the directory where Picture2data.mlApp locates, open the software by moving Picture2data.mlApp to the command window of MATLAB

Step1: 点击load picture,加载图片
Load picture by click ‘load picture’

Step2: 根据加载的图片确定x轴和y轴的范围
Determine the limit of X and Y axis based on the loaded picture

Step3:用鼠标左键在图片上选四个点以确定坐标轴,以enter键结束选点。这四个点坐标依次是(1900,2.5),(2020,2.5), (1900,2.5), (1900,5.5)
Select four points on the picture with the left mouse button, and end the selection with the Enter key. The coordinates of these four points are (1900,2.5), (2020,2.5), (1900,2.5), (1900,5.5). Please select these points in the given order.

Step4:用鼠标左键在曲线上选点,以enter键结束选点
Select points on the curve with the left mouse button, and end the selection with the Enter key
Step5: 将数据(data.mat)保存到当前目录
Save data.mat to current directory
Note: 1、建议使用MATLAB2019b及更新的版本 (use MATLAB 2019b or higher versions)
2、使用MATLAB的App designer打开Picture2data.mlApp后可以看到软件的源代码,用户可以根据自己的需要修改代码,生成自己的专属软件!(Users can read and modify the code of this software using App designer of MATLAB)