According to authors, their software can take any rough sketch, with the shape of each element labelled with its name, find images corresponding to each drawn element, judge which are a better match to the shapes, and then seamlessly merge it all into one single image.
PhotoSketch's blending algorithm analyses each of these images, compares them with each other, and decides which are better for the blending process. It automatically traces and places them into a single photograph, matching the scene, and adding shadows. Of course, the results are less than perfect, but they are good enough:
The authors of the program—Tao Chen, Ming-Ming Cheng, Ping Tan, Ariel Shamir and Shi-Min Hu at the Department of Computer Science and Technology, Tsinghua University and the National University of Singapore—presented it at Siggraph Asia 2009. An event that will be remembered forever in the History of Humanity as the day in which a million of dorks were finally able to put themselves in X-rated positions with Megan Fox. [PhotoSketch—Thanks Brice]