RSS/Atom feed Twitter
Site is read-only, email is disabled

Create a path form i bicolor image

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Create a path form i bicolor image piscvau 16 Oct 15:42
  Create a path form i bicolor image rich404 17 Oct 19:26
2017-10-16 15:42:31 UTC (over 6 years ago)
postings
1

Create a path form i bicolor image

Hello;
here is my problem. I have a photo of a stitch garment in 2 colors. I would like to get a path corresponding to the dark colors so I can use the Path in insckape to do some embroidery , cut heat transfer or.... On the image, I do "selection by contiguous zone" our 3selection by color" then "selection to path" and I export the path. When I import the path into INKSCAPE it has some 35 800 points approximately. I use simply path in INKSCAPE but the process never terminates!... Is there an appropriate thing I can do on the image before doing the selection so that the path has less points. Should I reduce the resolution of the image but I am afraid I will get stairways instead of curves.

I have seen the advanced control for the command "selection to path" but no need to say it's chinese to me. I also have the possiblity to the mnually the path but I have serval pictures to handle like this and it is going to be very time consuming. As attachment I upoladed an imge of a much lower definition than the original one.

ANy help would be welcomed.

rich404
2017-10-17 19:26:47 UTC (over 6 years ago)

Create a path form i bicolor image

ANy help would be welcomed.

1. Open your image and apply Colors -> Threshold to reduce the image to black/white Adjust the slider - move from center to left screenshot: https://i.imgur.com/qajUXSQ.jpg

2. Apply a strong gaussian blur 60 -> 80 Filters -> Blur -> Gaussian https://i.imgur.com/OWSfALU.jpg

3. Apply Threshold for a second time, but move the slider from center to right https://i.imgur.com/TcMCJFj.jpg

This is where I would export the image as a png, open in Inkscape and do the trace there, however continuing with Gimp.

4. Color select the shape (black) and selection to path. Still lots of nodes but managable. Export the path as an SVG. https://i.imgur.com/hYUa8uw.jpg

5. Opened in Inkscape looks like this https://i.imgur.com/bCX7hWH.jpg

6. This time try a path simplify Ctrl-L in Inkscape https://i.imgur.com/p91fAST.jpg

rich: www.gimp-forum.net