Extracting data from image file
Delete every thing including axis lines, legends etc from the image, it should only contain the data line. It will only works with single line of data (dammit this is a useless function !!)
To extract the data from and rgb file such as bmp or png:
1) import image file data into matlab workspace (by simply dragging and dropping the image file onto the workspce)
2) rename imported data as 'data'
3)read range of x and y axis from figure manually and add these values in calibration part of the code i.e.
minvalx is the least value of x in the data you want to read
maxvalx is highest value of x axis in your data
minvaly is minimum value of data
maxvaly is a maximum value of data
Note: read values of data not the axis
execute code and that's it
引用格式
Abdul Sattar (2024). Extracting data from image file (https://www.mathworks.com/matlabcentral/fileexchange/67439-extracting-data-from-image-file), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | comments added in file
|