I have an image, taken with a wide-angle lens, that contains a very high light pole.
I was not far from the pole so I had to point the camera upwards: the result is an image with very strong perspective deformation (vertical lines were converging).
This time I tried to correct it with the Perspective tool in RawTherapee and the light pole became vertical, but it was not straight any more: it was clearly curved.
At first I blamed the lensfun correction parameters (it has already happened to me) and I calibrated the lens distortion by myself, but I still got the bent pole.
After some thought I just tried saving the uncorrected image from RawTherapee and correcting the perspective with Panorama Tools: the resulting pole is not bented.
Here are the images of the pole:
The RawTherapee one:
The Panorama Tools one:
It looks like RT adds some distortion to straight lines when correcting vertical perspective.
The camera is a Panasonic GX7 and the lens is the Panasonic 14mm f/2.5 II.
It is a lens with a very large distortion that is corrected in software, as often happens with micro 4/3 lenses.
RT corrects this distortion “under the hood” before showing the image. Then the perspective correction needed to make the pole vertical is very strong (24.6) so the image is cropped heavily. Could it be that RT is applying the lensfun correction to the cropped image instead of the original one? Cropping moves the center of the image rectangle away from the center of the original frame, so applying the lensfun correction to that rectangle could cause such a distortion.
You can download the original raw file from here:
http://www.fsoft.it/temp/P1240630.RW2
Thanks in advance.
Fulvio Senore