openframeworks addon for posterize images with opencv
README
ofxPosterize
Intro
ofxPosterize is ad addon for openFrameworks, creative coding enviroment in C++.
ofxPosterize is usefull for apply posterization effect to images.
So, from this:

to this:

How it works
For theory guys: it involves process as image quantization, data clustering and segmentation.For code guys: it uses OpenCV library, in particular the opencv2 c++ API.
For now it uses kmeans algorithm.
ofxAddons