Given a face photo as input, synthesize a cartoon face.
- Version1: Implementation of 《Guided Face Cartoon Synthesis》
- Version2: First, using lasso or weight funtion to synthesize and combine all patches to get a global synthesis. Second, synthesize nose, mouth, eyes, brows and seamless clone them into the global synthesis to get detailed synthesis. Finally, remove defects by post-processing.
- Prerequisites
- MATLAB_R2014a
- FLANN
- SPAMS
- Face Detection
- Guided Image Filtering
- NL-means
- PHOG
- Poisson Image Editing
- Run version1
- run demo1_prepare.m
- run demo1.m
- Run version2
- run landmark_prepare.m, brow_prepare.m, eye_prepare.m, mouth_prepare.m, nose_prepare.m, demo2_prepare.m
- run demo2.m
Vesion2-LASSO | Version2-Weight Funtion |
---|---|