The Algorithm for Caricature Generation

Once the coordinates of the inputted face are entered, the following algorithm is performed:

**Begin Caricature Generation Algorithm**

*Step 1:*
Scale inputted face such that the distance between the 2 pupils is
equal to the distance between the 2 pupils in the average face.

*Step 2:*
Translate the scaled inputted face such that the left pupil is at the
same location as the left pupil of the average face.

All further operations are performed on this scaled, translated inputted face.

*Step 3:*
Calculate the feature vector for the inputted face, using the average
face point as the origin.

*Step 4:*
Calculate the caricature vector by multiplying the feature vector by a
value greater than 1.

*Step 5:*
Draw the face that is represented by the caricature vector.

**End Caricature Generation Algorithm**

Extension of Feature Vector to Create Caricature

The result of extending the feature vector is an exaggeration of features that are different from the average. The more different a feature is from the average, the more it is exaggerated in the caricature.

`This page was last updated on Thursday, April 30 ^{th},
1998.`

`©` `1998 Ian Inc.`