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
Zitieren als
Abdul Sattar (2024). Extracting data from image file (https://www.mathworks.com/matlabcentral/fileexchange/67439-extracting-data-from-image-file), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | comments added in file
|