I’m a software developer by trade, not a photography professional – so have a strong bias for free options.
For panorama stitching and transformations, I like ICE, Hugin and Panotools.
Since they’re a bit fiddly to install and configure, I put together a quick start guide here