Reputation: 3628
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:
Upvotes: 3
Views: 2766
Reputation: 5024
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...
Upvotes: 2