Hamilton Chong's inpainting code is a GPU implementation of
an early version of Paul Harrison's C++ GIMP resynthesizer
plugin code. Hamilton's code includes a copy of Paul's
source as required by the GPL license.
I ported the GIMP C++/STL plugin 0.13 2005 vintage algorithm
from an 8 bit GIMP GUI base to a 16 bit TIFF batch file
base. The identical code compiles under LINUX (gcc 4.0.2)
and WIN32/CYGWIN (gcc 3.4).
The algorithm takes 4 images:
1. texture source
2. texture source mask designating where to take the texture
from
3. target
4. target mask designating where to texture fill
Paul has released a 0.14 version. The changes are very
minor compared with 0.13.
I would integrate the 0.13 algorithm into CinePaint Glasgow
but it is not clear to me how to do it. I am not aware of
any documentation on how to write CinePaint plugins. I
don't have the time to research how to write filter
plugins.
Another option would be to support
ImageMagick/GraphicsMagick. CinePaint could:
1. save the 4 images to disk
2. execute an ImageMagick/GraphicsMagick texture synthesize
program
3. read the finished result back into CinePaint.
The ImageMagick/GraphicsMagick step is easy. CinePaint has
excellent 16 bit file support.
Greg Blair
Toronto
references:
Hamilton's GPU:
http://www.people.fas.harvard.edu/~hchong/picfix2.html
Paul's home page:
http://www.logarithmi
c.net/pfh/
Paul's texture resynthesis gimp plugin:
http://registr
y.gimp.org/plugin?id=457
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Cinepaint-developers mailing list
Cinepaint-developers lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ci
nepaint-developers
|