Approximate a tracing effect to "clean" an image
Posted: 2019-01-02T10:29:01-07:00
I'm using Imagemagick 7.0.8-14 on ubuntu 16.04
I have a jpg that is quite noisy and blurry with lots of shapes and colors:
I would like to "clean" it, meaning remove the noise in the white areas, make sharper edges, maybe reduce the number of colors in the image. Basically I would like the image to appear as if it was a vector illustration that had been rasterized. I was able to get to this with potrace (by tracing then converting back to jpg):
It's not bad, but it's very slow, and I'd like to still reduce the complexity of the image if possible, to obtain something like this (roughly painted in photoshop just to give you an idea):
How would you approach such a task? Do I necessarily have to try and test with the sharp, denoise, reduce colors parameters, or is there a command / script to do the heavy-lifting?
I have a jpg that is quite noisy and blurry with lots of shapes and colors:
I would like to "clean" it, meaning remove the noise in the white areas, make sharper edges, maybe reduce the number of colors in the image. Basically I would like the image to appear as if it was a vector illustration that had been rasterized. I was able to get to this with potrace (by tracing then converting back to jpg):
It's not bad, but it's very slow, and I'd like to still reduce the complexity of the image if possible, to obtain something like this (roughly painted in photoshop just to give you an idea):
How would you approach such a task? Do I necessarily have to try and test with the sharp, denoise, reduce colors parameters, or is there a command / script to do the heavy-lifting?