Re: [Lensfun-users] Urgent question about the database of Lensfun

2014-04-09 Thread tzw9921
Bronger, thank you for your response. But from the code of "mod-coord.cpp" (this file locates in ~/lensfun-0.2.7/libs/lensfun/mod-coord.cpp), we can see the following code (for example for poly3 model, but the other models follow the similar rule): void lfExtModifier::ModifyCoord_Dist_Poly3 (voi

Re: [Lensfun-users] Urgent question about the database of Lensfun

2014-04-09 Thread Malcolm Gillies
Maybe the information in this old thread will help: http://developer.berlios.de/forum/message.php?msg_id=52571 -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate B

[Lensfun-users] Urgent question about the database of Lensfun

2014-04-09 Thread tzw9921
Dear all, I have one question which I do not how to solve. I want to simulate some realistic distortion in a synthetic way. To be more clear, I have one example here. In the "slr-canon.xml" file of database of LensFun, we can find the following: Canon Canon EF-S 18-55mm f/

Re: [Lensfun-users] Urgent question about the database of Lensfun

2014-04-09 Thread tzw9921
thank you. I verified that the role of rd and ru interchanged in lensfun. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new

Re: [Lensfun-users] Urgent question about the database of Lensfun

2014-04-09 Thread Torsten Bronger
All your assumptions are correct. Note that Ru is measured in the original image (taken by the camera), whereas Rd is measured in the destination picture (which is supposed to be undistorted). -- Put Bad Developers to Sha

Re: [Lensfun-users] Urgent question about the database of Lensfun

2014-04-09 Thread Torsten Bronger
The LensFun code nomenclature is misleading. While one wants to transform a distorted picture into an undistorted one, one transforms an undistorted radius into a distorted one with the direct polynomial formular. -- Put