Hmm. If you mean you correct a fish-eye image to rectilinear, you must first use the fisheye -> rectilinear transform, and only after that apply the additional correction parameters. From what I can see, your 'c' parameters is very large, that would mean you're trying to rectify the image using only the distortion model, and that won't give you good results.
Have you tried to set the lens type to "Fish-Eye" and target image type to "Rectilinear"? Also set the correct focal distance, because this transform depends very much on the correct focal distance. Another important parameter is the crop factor. If your camera is not recognized, select any other camera with the same crop factor. As far as I remember, in Hugin you can set the lens type. Have you set it to fisheye there too? If so, I'm surprised Hugin gives you such a large distortion model. And of course, I would be grateful for some sample raw files taken with a fish-eye lens. So far I've tested the library only on some sample jpeg's I've downloaded from net. ------------------------------------------------------------------------------ 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
