It uses algorithms to detect areas in the photo where it can stretch while minimizing distortion. It's really quite neat. Even neater is the fact that there is a plugin for the GIMP which uses the tool. If you watch the demo you will be amazed at what you can achieve.
I also believe that there is no equivalent tool in the beloved Photoshop that does this. ;)
Blogged with Flock