Lens calibration: Panasonic Lumix G Vario 12-35mm f2.8

Tips, Tricks, and Results
klausw
Posts: 12
Joined: Fri Apr 20, 2012 10:48 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Lens calibration: Panasonic Lumix G Vario 12-35mm f2.8

Post by klausw »

Here are some manually eyeballed calibration values for this lens. None of the automated methods worked for me, I tried afx's script, Hugin's calibrate_lens_gui and the old-fashioned Hugin control point method and all seemed to generate excessively large correction values for the test images I tried.

If someone has more accurate values, please post an update, but this at least appears to be an improvement over no correction at all.

Code: Select all

# supportfiles/Profiles/LensProfiles/profile_panasoniclenstable.txt
LUMIX G VARIO 12-35/F2.8|Lumix G Vario 12-35/f2.8

Code: Select all

# supportfiles/Profiles/LensProfiles/profile_micro43.txt
begin lens
group: micro43
multiplier: 2.0
aperture: 3.5
menu_lens: Lumix G Vario 12-35/f2.8
cal_abc: 12.0  0.017 -0.06 -0.012
cal_abc: 14.0  0.0 -0.018 0.0
cal_abc: 18.0  0.0 -0.007 0.0
cal_abc: 25.0  0.0 0.0 0.0
cal_abc: 35.0  0.0 0.0 0.0
end
klausw
Posts: 12
Joined: Fri Apr 20, 2012 10:48 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit

Re: Lens calibration: Panasonic Lumix G Vario 12-35mm f2.8

Post by klausw »

Here are updated values, based on Hugin panoramas with 6-10 images per focal length. The mean reported errors were around 0.3 pixels.

Code: Select all

begin lens
group: micro43
multiplier: 2.0
aperture: 2.8
menu_lens: Lumix G Vario 12-35mm f/2.8
calibrated: true
# Hugin panorama auto-opt:
#   hugin *.tif
#   Images tab: Feature Matching: CPFind + Celeste, 10 points
#     when done, "Clean control points"
#   Optimizer tab: custom, add a+b+c
cal_abc: 12.0 0.0213 -0.06889 0.00479
cal_abc: 13.0 0.0145 -0.04822 -0.00119
cal_abc: 14.0 0.01331 -0.04349 0.00287
cal_abc: 16.0 0.01065 -0.03526 0.00691
cal_abc: 18.0 0.00754 -0.02306 0.00307
cal_abc: 21.0 0.00779 -0.02266 0.01134
cal_abc: 26.0 0.00077 0.00069 -0.00142
cal_abc: 30.0 0.0 0.0 0.0
cal_abc: 35.0 0.0 0.0 0.0
end