title: Convert raster images to vector graphics using OpenCV?
body: <p>I'm looking for a possibility to convert raster images to vector data using OpenCV. There I found a function <code>cv::findContours()</code> which seems to be a bit primitive (more probably I did not understand it fully):</p>
  
  <p>It seems to use b/w images only (no greyscale and no coloured images) and does not seem to accept any filtering/error suppresion parameters that could be helpful in noisy images, to avoid very short vector lines or to avoid uneven polylines where one single, straight line would be the better result.</p>
  
  <p>So my question: is there a OpenCV possibility to vectorise coloured raster images where the colour-information is assigned to the resulting polylinbes afterwards? And how can I apply noise reduction and error suppression to such a algorithm?</p>
  
  <p>Thanks!</p>