Converts an image into a painting
-
I highly recommend a computer with decent hardware, as these caluclations can take some time.
-
OpenCV: http://opencv.org/downloads.html
-
To install (on OSX or Linux):
- Installed CMake
- tar xjf OpenCV-2.3.1a.tar.bz2
- cd OpenCV-2.3.1
- cmake -DCMAKE_INSTALL_PREFIX=/usr .
- make
- sudo make install
-
Use jpg2png.cpp to test OpenCV install (review source if you have trouble with compiling/executing)
-
To Compile: g++ -I/usr/include -L/usr/lib -lopencv_core.2.4.9 -lopencv_calib3d.2.4.9 -lopencv_imgproc.2.4.9 -lopencv_highgui.2.4.9 .cpp -o