I think it would be pretty difficult to figure out the algorithm by looking
at the Gimp source code.  The algorithm that Gimp uses is based on
papers by Todor Georgiev, and you can find a description of the algorithm
in a paper he wrote called "Photoshop Healing Brush: a Tool for
Seamless Cloning" -- you can access a PDF version at


Note that Gimp only uses the Laplacian method that he describes, not
the more sophisticated fourth-order version.

  -- Bill
Gimp-developer mailing list

Reply via email to