Forgot Password
Pentax Camera Forums Home
 
Log in or register to remove ads.

Showing results 1 to 1 of 1 Search:
Forum: Digital Processing, Software, and Printing 11-05-2017, 08:50 AM  
Question for Darktable (under Linux) users
Posted By wombat2go
Replies: 10
Views: 1,607
Hi Mack,

There are a huge range of operators for distortion on the command line using convert utility

The one you might need is -distort barrel "A, B, C" where the 3 coeffs are for 3rd, 2nd and 1st order radial distortions
If the radial coeffs are not avialble for your lens , you can find the coeffs by trials ( usually 3rd order is the main one)

Here are some examples of crazy overcorrections
original img: (XR Rikenon 1:3.5 28mm uncorrected
https://app.box.com/s/ievjf7xtl8y5ik7uglpjiwthdnqidd36

positive 3rd order radial overcorrection:
ZZ@localhost Barrel_Example]$ convert IMGP0206.JPG -distort Barrel "+0.5 +0.5 -0.5" My_barreledCrazy1.JPG
https://app.box.com/s/dk2wvaqsrx2j2bknsfh3tpa8w98swgis

negative 2rd order radial overcorrection:
ZZ@localhost Barrel_Example]$ convert IMGP0206.JPG -distort Barrel "-0.0 -0.5 -0.5" My_barreledCrazy2.JPG
https://app.box.com/s/91ghuz6hmg6mvnqtwsuanx9qnwp9fmfz
Search took 0.00 seconds | Showing results 1 to 1 of 1

 
Forum Jump


All times are GMT -7. The time now is 01:24 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top