Answer
In Photoshop there’s a filter to fix those lens distortions:
- Menu Filter → Lens Correction
Choose the top Custom tab and modify the Vertical Perspective and Scale
Result:
Attribution
Source : Link , Question Author : bigpotato , Answer Author : Community