Just had a little play with Photoshop with a picture with converging verticals.
here is the image taken looking upwards so the verticals converge
I used the perspective crop tool to correct the convergence, leaving a blank wedge at the bottom left
I selected the blank area with the magic wand then expanded the selection by 2 pixels to be safe.
Then I pressed the delete key and chose the “content aware fill”. The fill is remarkably good, particularly given the complexity and structures involved.
Then all it needs is a tweak to the image width, to correct the distortion introduced by the perspective crop.