Sorry that this is such a frustrating way to discuss this but I think we're talking past each other.
The code I pasted above is from ModifyCoord_UnDist_Poly5 It's not solving the inverse equation using Newton iteration. Compare this from ModifyCoord_UnDist_Poly5 again: const float r2 = x * x + y * y; const float poly4 = (1.0 + k1 * r2 + k2 * r2 * r2); iocoord [0] = x * poly4; iocoord [1] = y * poly4; to this from the Adobe model xd = (1 + k1 * r^2 + k2 * r^4) * x yd = (1 + k1 * r^2 + k2 *r^4) * y Anyway, I will continue my experiments and post some actual examples that should confirm or refute my interpretation. Thanks for the discussion! ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Lensfun-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lensfun-users
