0
$\begingroup$

how can we automatically extract numerical data from plot images in MMA (.dat or .csv file)?

For the test image (two curves in one image), x=[0 40]; y=[0 1]

enter image description here

if we use e.g. "getdata-graph-digitizer"

we have to grab points by clicking on points. it take some times ...

Can we extract these data automatically ("AI") in MMA?

P.S. @Alexei Boulbitch I have used your MMA app (How to make a curve selectable from a scaned image and convert it to a list of coordinates), it does not support this kind of image.

enter image description here

Thanks a lot in advance!

$\endgroup$
  • $\begingroup$ Please tell use why Export/Import to the appropriate image format doesn't work. $\endgroup$ – bobthechemist Oct 30 '19 at 22:59
  • $\begingroup$ @bobthechemist please see the new figure (the second one) in this post! or you try it by yourself! $\endgroup$ – ABCDEMMM Oct 30 '19 at 23:01
  • $\begingroup$ @bobthechemist Control[{{size, 4500} also not works ....... $\endgroup$ – ABCDEMMM Oct 30 '19 at 23:06
  • 1
    $\begingroup$ @ABCDEMMM If you make a screen shot of your image (for example using a Snipping Tool of Windows), then write im=Image[ ] and paste your screened image between the square brackets, and then apply 'copyCurve[im]', the method I posted works and you can use it. In your example most probably copyCurve did not work because the Head of the object you inserted into the function copyCurve was not Image. $\endgroup$ – Alexei Boulbitch Oct 31 '19 at 12:31
  • 1
    $\begingroup$ The curves are not active automatically. You need to do something to copy them. What to do, is written in detail in the post that you have cited above. Have a look there. After you have done that, evaluate the following: Export[NotebookDirectory[]<>"myList.csv", listOfPoints]. As the result you wil get the Excel file "myList.csv" saved in the directory you are working in. Before you make this operation, do not forget to save the notebook you are working with in some directory. Otherwise the statement NotebookDirectory[ ] will not work. $\endgroup$ – Alexei Boulbitch Nov 3 '19 at 13:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.