http://www.cs.ubc.ca/~mbrown/autostitch/autostitch.html
autostitch
it is really amazing