[Rawstudio-commit] r3039 - branches/rawstudio-ng-color/plugins/lensfun
Klaus Post
klauspost at gmail.com
Tue Jan 19 20:14:36 CET 2010
Author: post
Date: 2010-01-19 20:14:35 +0100 (Tue, 19 Jan 2010)
New Revision: 3039
Modified:
branches/rawstudio-ng-color/plugins/lensfun/lensfun.c
Log:
Lensfun: More agressive vignetting translation.
Modified: branches/rawstudio-ng-color/plugins/lensfun/lensfun.c
===================================================================
--- branches/rawstudio-ng-color/plugins/lensfun/lensfun.c 2010-01-19 19:13:42 UTC (rev 3038)
+++ branches/rawstudio-ng-color/plugins/lensfun/lensfun.c 2010-01-19 19:14:35 UTC (rev 3039)
@@ -539,8 +539,8 @@
vignetting.Focal = lensfun->focal;
vignetting.Aperture = lensfun->aperture;
vignetting.Terms[0] = -lensfun->vignetting_k1 * 0.5;
- vignetting.Terms[1] = -lensfun->vignetting_k2 * -0.125;
- vignetting.Terms[2] = lensfun->vignetting_k3;
+ vignetting.Terms[1] = -lensfun->vignetting_k2 * 0.125;
+ vignetting.Terms[2] = lensfun->vignetting_k3 * 0.03;
lf_lens_add_calib_vignetting((lfLens *) lensfun->selected_lens, &vignetting);
} else
{
More information about the Rawstudio-commit
mailing list