Compartilhar via


Fun with Texture Transfers

Texture Transfer: Man as Rice One of the image processing technologies that Andrew Blake (of Microsoft Research) showed us during his Computer Science and Illusion presentation was image quilting, where bits of a texture are stitched together into a large, cohesive image.

A cool application of image quilting is texture transfer, where bits of a source texture are stitched together in a way that makes them look like a target image.

In the image to the right (from Andrew's presentation), the technique was used to transfer a rice texture onto a photograph of a face.  To create the image below, I transfered a texture from a Monet painting onto the photograph.

I did this using an Texture Transfer utility that I implemented in C# a few years ago. 

I've added a user interface so that you can try for yourself!

Texture Transfer: Gustav as Monet

You can pick a Source Texture (in this case, the Monet) and a Target Image (here, the photograph) and use it to perform your own texture transfers.

Click here to install the little application and try for yourself.  The app includes some top tips for getting good results. 

Post a link to your coolest results in the comments of this blog! 

My app uses ClickOnce deployment, so hopefully it should be a snap to install on any .NET-compatible PC.  I'm also about to post the code, which you're welcome to check out, optimize, improve upon, etc.

Comments

  • Anonymous
    September 19, 2006
    It doesn't seem to work on my Mac Rob - obviously it is not platform dependent (that'd be so 90's) so what am I doing wrong?

    ;-)

    Tom

  • Anonymous
    September 19, 2006
    Tom, I hear that thanks to the miracles of virtualisation software (such as Parallel) you can actually run .NET 2.0 apps on the Mac at quite a clip :)  Give it a try and post a texture transfer...

  • Anonymous
    September 20, 2006
    Gee, it worked fine for me using parallels.  The "it doesn't work on a mac" mantra is getting tedious.  This is not a Microsoft product; rather it's a neat application made available by an individual relevant to a very interesting talk on graphics attended by over 200 people.  Smileys don't whitewash (erroneous) barbed comments.  I say thank you Rob, the texture transfer application is cool.

  • Anonymous
    March 19, 2008
    PingBack from http://cityjokesblog.info/robert-burkes-msdn-weblog-fun-with-texture-transfers/

  • Anonymous
    May 30, 2009
    PingBack from http://outdoorceilingfansite.info/story.php?id=5402