Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what library that can be used to convert bitmap to vector? [closed]

My current project is related to bitmap to vector. so far i found these libraries:

potrace

  • (+) really good for line tracing
  • (+) documentation
  • (-) does not support image gradient

ardeco

  • (+) support olor gradient
  • (+) documentation
  • (-) line tracing is inferior compared to potrace
  • (-) outdated (2006)

rastertovector

  • (+) support color gradient
  • (-) little documentation
  • (-) line tracing is inferior compared to potrace
  • (-) little bit outdated (2008)

the project will be used to vectorize cartoon image (comic or cartoon, specifically). My main goal is just vectorizing black and white image. So potrace gives me sufficient result, but i would like to process gradient, for example, gradually from black to white.

so far, it's quite hard to find library that support color gradient. Ardeco and rastertovector support color gradient, but they are a little bit outdated. I am wondering if there is any well-maintained (and of course, well documented) vector-tracing library out there

Thanks!

like image 929
azer89 Avatar asked May 20 '13 09:05

azer89


People also ask

Which can translate a bitmap image to vector formats?

Vector tracing requires software tools to convert elements of a pixel-based raster image into a series of mathematically plotted lines and shapes–the data required for a vector file. CorelDRAW provides the tools you need to vectorize an image.

Can you vectorize an image in Illustrator?

You can have Illustrator vectorize an image using its Image Trace function. In earlier versions of Illustrator, a similar function is known as "Live Trace."


1 Answers

Have you tried OpenCV? Perhaps these other threads can be useful for you:

  • Convert raster images to vector graphics using OpenCV?
  • PHP image trace function

And also these tutorials:

  • http://docs.opencv.org/doc/tutorials/features2d/feature_detection/feature_detection.html
  • http://docs.opencv.org/doc/tutorials/imgproc/shapedescriptors/find_contours/find_contours.html
like image 124
Luiz Vieira Avatar answered Oct 02 '22 20:10

Luiz Vieira