LensTweaker

LensTweaker is a Mac OS X application that corrects lens distortion in images: