Originally Posted by
RonH
Thanks for all your inputs. I have the answer from RawTherapee as follows:
The problem in your image is not vignetting, but the lens hood (or plastic from the camera's body) going into the frame. Camera manufacturers hide this problem at the same time as they correct lens distortion.
In this case even clicking the auto-distortion correction button doesn't hide all of the lens hood, so you additionally need to crop the image. It's not a fault or weakness of RawTherapee - the lens hood is there and you cannot fix that, you need to crop it - if you examine the JPEG from your camera or the JPEG embedded in your raw file, you will see that that is exactly what your camera does - crops the image.