perspective distortion correction help!
I usually use Photoshop Warp as Johanfoto said, but I also sometimes find that the free plugin panowarp can help.
An example using Target Cyl. Perspective & Focal Length of 20.
but notice that the table is now curved.
Another tool I sometimes utilise is the also free Cartoonist.