Hi, I've just created a pull request for smooth image completion.
There are still few issues to solve but in general it's pretty finished. Of course I'm open to any suggestions from you. I was trying to follow oiio style, but I'm not sure if all code looks as you would wish :) Everything was written using templpates so it's format type independant. As we agreed Eigen3 is used for solving sparse linear system. Everything was integrated into oiiotool so it can be easly tested. Example usage: ./oiiotool --smoothcompletion lena.jpg lenamask.png -o lena_out.jpg Issues remeaning: 1) To work this algorithm needs two images - source image and mask image with area masked for smooth interpolation. In fact we didn't decide how the maskimage should look like. Now I'm assuming that pixel marke for completion contains every subpixel equal 0. 2) What image types should be used for mask. 3) Other little things are marked in source with TODO or FIXME tag Cheers, Łukasz _______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org