I am trying to use ImageMagick to correct an image from the lens of a GoPro Hero3+ Black camera. I see here that ImageMagick has both instructions and code parameters here for a GoPro Hero 3 but these settings are based on the Hero 3 do not match my 12 MP Hero3+ Black GoPro camera.
I see from this web posting that there are some parameters for a Hero 3 Black but they do not have the desired results that I would expect. I assume the CMOS or the lens is different between the Hero3 Black and the Hero3+ Black cameras (or the parameters are just wrong).
Here is the original image I am trying to remove the fish-eye effect from:
Here is the output from using the wide angle parameters from the first link (left, first image) and from the Hero 3 Black website (right, second image)
magick GoPro.JPG -distort barrel "0.06335 -0.18432 0.13009" out2.png
magick GoPro.JPG -distort barrel "0.010 -0.32 0" out.png
Clearly the parameters are not correct. Does anyone know the correct parameters for imagemagick distort barrel for a GoPro Hero3+ Black camera lens? I am hoping to avoid having to calculate those parameters myself.