I'm trying to convert images to graphs in Matlab.
The process is as follwing:
im2bw , andI've been trying some snake and some grow-as-you-go algorithms to detect the graph from the white pixels in the BW image, but it seems weird that I can find no ready made Matlab algorithm which match all the white pixels in the BW image to an equation. Any help or ideas will be much appreciated.
[Edit] Here's an example for the BW image from the graph extracted:

Does it have to be done with MATLAB?
There is a list with Digitizing programs for Converting Hard Copy Graphs and Plots back to Data on the CCP14 homepage; maybe you can use one of the tools found there? I haven't tried myself, but remember having come across the same issue...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With