tool/brush to reduce image daitails in b/w transitions

Post questions on how to use or achieve an effect in Inkscape.
vectorcut
Posts: 5
Joined: Sat Oct 05, 2019 7:03 am

tool/brush to reduce image daitails in b/w transitions

Postby vectorcut » Sat Oct 05, 2019 10:12 am

I am using inkscape for vectorzing b/w images for laser cutting.
the problem that i have is that whenever i use "higher res" images as a source, a soft transistion of the source image between black and white will end up in very complex vector paths (examples will follow later in jpgs). Of course ther is the option to manualy delete que points but this is a very time consuming task and is frustrating if i delete one que point too much if you know what i mean .

So this is an example of the source image:
https://i.postimg.cc/pdmMc6ry/t0.jpg
Image

And this is an example of the b/w outcome which will carry on to vectorization nometter what threshold i use:
https://i.postimg.cc/6qgvRS8R/t1.jpg
Image

To claryfy my desire: I`d like the soft transitionto be a hard line and not a complex one.

So can you think of any tool/brush to minimize the complexity/detail of the b/w transition?
If a 3rd party app is required i am also greatful for your advice especcialy if it is freeware.

I hope that you can understand what i am having troubles with and i am thanking you in advance for
your input!

Polygon
Posts: 384
Joined: Thu Dec 19, 2013 3:27 am

Re: tool/brush to reduce image daitails in b/w transitions

Postby Polygon » Sat Oct 05, 2019 7:03 pm

If you want a more smooth transition between black+white I first take the image to GIMP and have a good play with the threshold to adjust the amount of black versus white areas. Then apply a Gaussian blur filter, export to PNG and autotrace in Inkscape (GIMP can generate SVG from every selection BTW):
AutotraceGIMPinkscape.jpg
AutotraceGIMPinkscape.jpg (123 KiB) Viewed 197 times

Cheers

User avatar
druban
Posts: 1890
Joined: Fri Nov 20, 2009 10:48 pm

Re: tool/brush to reduce image daitails in b/w transitions

Postby druban » Sat Oct 05, 2019 8:45 pm

certainly the best option is to prepare the image in a raster program that reduces the number of colors and softens the image if you don't want grain.
The bottom image has been so treated here, the top one is all in inkscape using the settings shown, deleting the midtone scan, then hitting it with some repeated simplify (ctrl L) and then for the final making all the segments straight.
3.png
3.png (130.38 KiB) Viewed 193 times


trace settings mode tab

ColourTheoryGamuts.png
ColourTheoryGamuts.png (208.34 KiB) Viewed 193 times


And options tab note that these don't show in the preview but have a large effect on the result

2.png
2.png (174.38 KiB) Viewed 193 times
Your mind is what you think it is.

User avatar
druban
Posts: 1890
Joined: Fri Nov 20, 2009 10:48 pm

Re: tool/brush to reduce image daitails in b/w transitions

Postby druban » Sat Oct 05, 2019 9:22 pm

Even using the straight to one bit color that you are using in your post ( I didn't invert) the multiple scans grays is still a better option than threshold. (Using simplification and straight lines for the last in both series again)

2019-10-05_035523.png
2019-10-05_035523.png (68.66 KiB) Viewed 189 times
Your mind is what you think it is.

vectorcut
Posts: 5
Joined: Sat Oct 05, 2019 7:03 am

Re: tool/brush to reduce image daitails in b/w transitions

Postby vectorcut » Sun Oct 06, 2019 8:03 am

WOW, YOU ARE AMAZING! THANK YOU!!!
I have only just started playing with the "suppress speckles" feature and this is allready a huge advancement.

That being said, i have to admit that i have not entirely understood everything you posted.

I just wanted to express my gratitude a little bit for now and we can go into details later i hope.

User avatar
druban
Posts: 1890
Joined: Fri Nov 20, 2009 10:48 pm

Re: tool/brush to reduce image daitails in b/w transitions

Postby druban » Sun Oct 06, 2019 10:26 am

Vectorizing an image is not an automatic process at all, the best conversions take a lot of work and at the experienced level no two versions are going to be even close to each other. At some point it becomes a matter of style even if the tools are all the same. Polygon has a lot of skill and I can tell his method will eventually yield a very different result from mine. And he'll probably do it faster, too!
Your mind is what you think it is.


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 3 guests