Almost all post processing software have some sort of lens distortion correction. I have been trying several of them to figure out how to handle a particular lens with significant pincushion. I have found that GIMP does an excellent job with the EDGE slider: It fixes the edges without distorting the rest of the image. Photoshop and others seem to apply an algorithm that effects the entire image, leaving no untouched pixel within the entire image surface: in short with almost all software, what you get as a final image has nothing to do with what the glass has rendered. With gimp, only the edges are corrected. Surely, this results with a smaller image (a crop) but that's perfectly OK.
Problem 1: I can't use GIMP for raw files.
Problem 2: Ideally, I would like to use a command line program that I can automatically run the raw files through.
In order to illustrate the issue, I am including two images (gif)
The camera and the lens make are not an issue here, as I will be using this conversion lens with an unintended body. But for sake of illustration I am showing you the lens (fuji's x100 tele converter) with the body that it was intended for. (fuji x100)
The first file is straight out of camera jpeg with in camera correction applied. (Incidentally the in-camera algorithm happens to mirror the photoshop, dxo optics, dce tools, lightroom etc)
the second one is applying the GIMP edge function, which I believe is superior in every sense: just fix the effected pixels.
I am curious to know what you all think.
Many thanks in advance.
(I hope gif files animate properly)


Problem 1: I can't use GIMP for raw files.
Problem 2: Ideally, I would like to use a command line program that I can automatically run the raw files through.
In order to illustrate the issue, I am including two images (gif)
The camera and the lens make are not an issue here, as I will be using this conversion lens with an unintended body. But for sake of illustration I am showing you the lens (fuji's x100 tele converter) with the body that it was intended for. (fuji x100)
The first file is straight out of camera jpeg with in camera correction applied. (Incidentally the in-camera algorithm happens to mirror the photoshop, dxo optics, dce tools, lightroom etc)
the second one is applying the GIMP edge function, which I believe is superior in every sense: just fix the effected pixels.
I am curious to know what you all think.
Many thanks in advance.
(I hope gif files animate properly)

