It’s been so long I had to refresh my memory. It’s actually a plugin with Photoshop called Vanishing Point. It’s a lot like Match Photo, except with Photoshop. I posted this screen shot of what it looks like in another thread here:
Lots of resources on the web about using it, but here’s Adobe’s: