On 15 Feb., 12:07, Pablo d'Angelo <[email protected]> wrote: > Seems to be very similar to lensfun:http://lensfun.berlios.de/ > > I think lensfun is really good, however, it never really got of the > ground nicely (its used by ufraw though), because adding new lenses etc. > is not as straightforward as it could be.
I know lensfun, and while the idea of having a PTLens replacement is a good one, I have certain problems with it which prompted me to start a new project after all. Let's just say I strongly disagree with lensfun's design. It's full of C-isms and hard coding, there's nearly no encapsulation, its programming interface is non-existent, and using it means you essentially even have to write the image transformation loop yourself. I do not want to belittle Andrew's efforts, far from it. But lensfun's design just makes using it unnecessary hard-- which is precisely what Photoropter tries to fix. Then there's the build system (apparently trying to fix autotools' flaws by supplementing it with custom python code) which I also find very problematic. > It would be great if the database storage could be kept similar or > easily convertible, so that both projects can feed of the same data. That used to be one goal, yes. But I am not sure this will be sustainable, since the whole idea of separating 'lens' and 'sensor' (i.e., the camera body) data is problematic. Importing and exporting of parameter sets itself is trivial, but one cannot load a set of lens parameters, maybe even determined at a different crop factor and hope to achieve any meaningful results (even if the library can compensate for different crops, as Photoropter and lensfun both can). The only way to reliably correct for image flaws of a given system in a physically 'correct' way is to identify the optical system as a whole (this means sensor _and_ lens). The most one can do really is to regard the lens database as a set of templates. However, at the moment Photoropter is not concerned with the lens database part at all (yet). For a little while, this will remain on the todo list. Regards, Robert -- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
