Mittwoch, 11. Juli 2007

Cubism Caricatures




I have played some more with my Java cubism algorithm.
It can be summed in several steps:
-create a hexagonal grid
-split the hexagons in 3 parallelograms to simulate 3d cubes
-assugn to each hexagon a cut from the original photo image
-calculate the cut size according to the image content of the photo, e.g. eyes are an important visual element and should be repeated more
-from each quadratic cut get three deformed subshapes to create 3d cube illusion

In this way, a single input picture gives illusion of multiple angles, eyes become facetous, etc. , all one needs is my java program, an input photo, and a mask with important regions. One may manually choose eyes, or use a computer vision algorithm to do this automatically, or use any other image to superimpose, e,g, the photo of a famous person works nicely with a caricature of the same person :-)

I wondered wheteher it may be interesting to create a photo gallery of caricatures of politicians with my algoritm

Keine Kommentare: