Re: [Gimp-user] getting x/y coordinates from simple lines



When properly installed it will show up there:

http://imgur.com/1rsE1tW

However, you have to create the path manually first with the path editor, with enough sampling points. The paths Gimp will create from the selection will likely not have enough points, it is however possible with a Bezier curves library to interpolate the exported values.

PM me directly if you need more help.

Bonus: the CSV for the images, paths created by Gimp: https://www.dropbox.com/s/lfsp57k82oc7ga1/ekg.csv

On 16/12/15 10:22, peter wrote:
hi,




i would like to get coordinates for pictures that look like EKG-Diagrams
example: http://www.clker.com/cliparts/U/3/3/c/2/t/ekg-black-hi.png

the resolution i need should be enough to recreate the image with mathplotlib and have it look almost identical...for the human eye.

a x/y output in a csv format or something like that would be great.

do you guys have any idea how to accomplish that?
the pictures i read in will be "made by hand", but they will have a pure white / pure black so working with opencv should also be possible but i guess theres a easier solution in gimp, i wont work with that much image material.


found this script that is supposed to work with gimp:
http://gimp-path-tools.sourceforge.net/tools.shtml#path-csv


installed it according to http://gimp-path-tools.sourceforge.net/ (on the right)
copying, setting executable...


now it  should show up in the right click menu when creating a path...
but when i create a path in my image and right click on it i dont even see the word "path" in the popup menu...where can i find it?
_______________________________________________
gimp-user-list mailing list
List address:    gimp-user-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]