An image processing project for images cartoonization
Available at http://imagecartoonizer.pythonanywhere.com/
Traditional Image Processing Method
1. Here are few examples of image quantization using K-means algorithm on different images :
Image to process |
K = 5 |
K = 9 |
K = 12 |
K = 15 |
K = 19 |
Best Image (K = 7) |
|
|
|
|
|
|
|
Image to process |
K = 5 |
K = 9 |
K = 12 |
K = 15 |
K = 19 |
Best Image (K = 9) |
|
|
|
|
|
|
|
Image to process |
K = 5 |
K = 9 |
K = 12 |
K = 15 |
K = 19 |
Best Image (K = 15) |
|
|
|
|
|
|
|
Image to process |
K = 5 |
K = 9 |
K = 12 |
K = 15 |
K = 19 |
Best Image (K = 19) |
|
|
|
|
|
|
|
2. Here are few examples of edge enhancement on quantized images :
Image to process |
line size = 5 |
line size = 7 |
line size = 9 |
line size = 11 |
Best Image (line size = 9) |
|
|
|
|
|
|
Image to process |
line size = 5 |
line size = 7 |
line size = 9 |
line size = 11 |
Best Image (line size = 5) |
|
|
|
|
|
|
Image to process |
line size = 5 |
line size = 7 |
line size = 9 |
line size = 11 |
Best Image (line size = 11) |
|
|
|
|
|
|
Image to process |
line size = 5 |
line size = 7 |
line size = 9 |
line size = 11 |
Best Image (line size = 9) |
|
|
|
|
|
|
2. Here are few examples of image cartoonization using White Box Algorithm :
Image to process |
Cartoonized Image |
|
|
Image to process |
Cartoonized Image |
|
|
Image to process |
Cartoonized Image |
|
|
Image to process |
Cartoonized Image |
|
|
3. Comparison between the two methods
Image to process |
Traditional method |
Deep Learning method |
|
|
|
Image to process |
Traditional method |
Deep Learning method |
|
|
|
Image to process |
Traditional method |
Deep Learning method |
|
|
|
Image to process |
Traditional method |
Deep Learning method |
|
|
|