I imagine it a little different. I've added a page "lens correction" to UFRaw. At the top you will select camera and lens models from a list (and it will choose them automatically based on EXIF, but you will be able to override that). Below it there will be controls for all supported corrections, every one in a separate GtkFrame (or perhaps in a collapsable frame).
Inside every frame you will see a dropdown combobox with possible mathematical models and the sliders that control the parameters (if any) of the model (different models have different parameters). Every frame (e.g. every separate lens correction) will be enabled by default if lens model contains parameters for it, and disabled if lens model has not been calibrate for this particular kind of distortions. Then user may click the checkbox to enable even a disabled model and change the parameters manually if he desires. The biggest problem with applying all corrections on the image is that it must be done in three steps right now: * On the first step you apply TCA correction. This means you copy from buffer A to buffer B, where A and B both contain bayer images (in UFRaw). * Then you apply the color and vignetting correction. Fortunately, this step can be done in place, so no need for a spare buffer. * Finally, distortion and lens geometry corrections. This again requires copying from buffer B to C, because we can't break buffer A (which contains the original raw image). Of course, if some of the corrections are not needed this could save a buffer copy. However, if, for example, you want ONLY vignetting correction, you will have anyway to copy the buffer A to buffer B, otherwise you'll wreck the original image. So lots of buffer copies here, and I'm not sure it is possible to avoid it. ------------------------------------------------------------------------------ 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
