Extracting data from image file

Version 1.0.0.0 (406 Bytes) by Abdul Sattar
To extract data from an rgb image file such as bmp, png etc
531 Downloads
Updated 23 May 2018

View License

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

Cite As

Abdul Sattar (2024). Extracting data from image file (https://www.mathworks.com/matlabcentral/fileexchange/67439-extracting-data-from-image-file), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graphics Object Identification in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

comments added in file
cleans up workspace afterword