> I wanted to ask whether there is an example somewhere on how to use > lensfun with OpenCV Mats? >
I do not know of any example and unfortunately I do not have any experience with OpenCV. But it should not be too difficult as lensfun is only doing coordinate transformations and all interpolation is done in the calling application. Only vignetting correction needs the actual pixel data to work on. > The only example I can find is the tmod.cpp, which I am not able to > replicate using openCV. Is the image class used in the example a custom > class or part of some framework? > The image class is a custom class to wrap the loading and writing of PNG images together with some interpolation code. Sebastian ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Lensfun-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lensfun-users
