Picture2data軟件把圖片里的曲線轉(zhuǎn)化成數(shù)字
在做研究的時候,有時會需要重畫別人論文圖片里的曲線,但是又沒有原始的數(shù)據(jù),怎么辦?筆者開發(fā)了Picture2data軟件可以把圖片里的曲線轉(zhuǎn)化成數(shù)字(下載鏈接: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: 根據(jù)加載的圖片確定x軸和y軸的范圍
Determine the limit of X and Y axis based on the loaded picture
?

?
Step3:用鼠標左鍵在圖片上選四個點以確定坐標軸,以enter鍵結(jié)束選點。這四個點坐標依次是(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鍵結(jié)束選點
Select points on the curve with the left mouse button, and end the selection with the Enter key
?
Step5: 將數(shù)據(jù)(data.mat)保存到當前目錄
Save data.mat to current directory
?
?
Note: ?1、建議使用MATLAB2019b及更新的版本 (use MATLAB 2019b or higher versions)
??????2、使用MATLAB的App designer打開Picture2data.mlApp后可以看到軟件的源代碼,用戶可以根據(jù)自己的需要修改代碼,生成自己的專屬軟件!(Users can read and modify the code of this software using App designer of MATLAB)