How to parallelize single function in R?

In Inkscape, when I use the "Trace Bitmap" function, how can I avoid ending up with the outline of the image when I want to get a single line sketch of the image?

  • When I go to the trace the bitmap of an image, instead of getting a line drawing version of it, I get an inner and outer outline of the image. Is there a way to get a single line image without having to draw it myself?

  • Answer:

    What Inkscape does is find the two edges of the bitmap line, whether it's a fine or wide area. If I use Trace Bitmap ->Multiple Scans: Grays with this: I get this: Which is made of:

Michel Poisson at Quora Visit the source

Was this solution helpful to you?

Other answers

As far as I know in my experience with Inkscape, I don't think there's a way to turn a Bitmap into the kind of single line Vector image you're looking for. The closest thing you can get would be to trace the image with the Trace Bitmap function, edge detection set to zero will find all the outlines for you if you need it to. After that if you select it and then choose Path > Simplify it will reduce the number of Vector nodes significantly which should go some way to helping you make edits. Other than that, I guess you're left with tracing it manually to get a single line vector. If there *is* a way to do it automatically, I'd like to know too. :-)

Jack Knight

You need to do a "centerline trace". I don't believe Inkscape has that feature.Here are two free, online options (remember to select "centerline"):http://www.roitsystems.com/cgi-bin/autotrace/tracer.plhttp://online.rapidresizer.com/tracer.phpApparently, the best programs for centerline trace are Adobe Illustrator or Corel Draw. There are other software options as well, but I haven't tried any of them.

Felix Leung

What you are after is called "center line trace" Inkscape does not have that function (yet). Some similar results can be obtained from a limited set of images by selecting one of the resultant scanned paths ( if you have multiple colors for example you break apart the group and select one of the color's paths) and set the stroke to something and the fill to empty. Perhaps do this for a number of the paths. Break apart the paths and remove what you do not want. Again this will only make nice looking "drawings" for a very limited set of images that have the appropriate qualities and it requires a lot of "hands-on" work.

Gregor Shapiro

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.