Extracting data from image file

版本 1.0.0.0 (406 字节) 作者: Abdul Sattar
To extract data from an rgb image file such as bmp, png etc
519.0 次下载
更新时间 2018/5/23

查看许可证

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 版本兼容性
创建方式 R2017a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Graphics Object Identification 的更多信息

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
cleans up workspace afterword