It is currently Fri Apr 26, 2024 4:54 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Advice on Inpaint versions.
PostPosted: Thu Feb 19, 2015 2:37 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2014
Posts: 866
GIMP Version: 2.8.10
Operating System: Linux
GIMP Experience: Beginner Level



I have used the Inpaint[patch-based] to great effect (and also Heal selection having recently downloaded the gimp-plugin-registry).
However, I see that there are three other versions of Inpaint - [diffusion], [holes], and [solidify].
I would appreciate some guidance on the uses for these.

david.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Advice on Inpaint versions.
PostPosted: Sun Mar 08, 2015 6:03 am  (#2) 
Offline
GimpChat Member

Joined: Sep 01, 2014
Posts: 18
last time I had a brief search on your topic unable to figure out if this link would be helpful http://inpaintgimpplugin.github.io/
now I come back because that info was so fascinating to me that I couldn't forget.

would it work to remove this tree infront of the painting? to get the direct perspective (maybe I should post again with another example)

Image
Image


Top
 Post subject: Re: Advice on Inpaint versions.
PostPosted: Sun Mar 08, 2015 8:24 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Mar 15, 2014
Posts: 115
Location: Brooklyn, NY
Hello CodaAlFine,

My first effort would be to composite the wall art from the first image onto the second, using Gimp's perspective tool to work out the inverse perspective tilt and reverse scaling from the first to the second. You will bypass the effort of making a mask for the tree by largely burying it. You will pass a pleasant morning and early afternoon finding the right inverse perspective tilt and scaling, but you would easily spend as much time making a mask to remove the tree, only to have Inpaint resynthesize, perhaps less than perfectly, colors and tones that you already have in the first image. It will probably be necessary to color balance the patch, but the two images look like they were photographed pretty much at the same time and with the same camera, so I think that wouild not pose a great difficulty.

Inpaint will work well getting rid of the wire passing in front of the wall art in the first image. The wire mostly passes over flat color fields so Inpaint won't have to work too hard to resynthesize the area that the wire blocks. Inpaint will also help cleaning up the odd corner here and there after you composite the first (perspectively adjusted) image onto the second.

As for which Inpaint? They all trade speed for fidelity, with the best results (I think) coming from the patched-based inpaint. That is also the slowest, but there has been much work done in optimizing and parallelizing the underlying code, so, for 1.6.1.0, it is no longer that slow.

My 2 cents (American denomination).

Garry

EDIT:
My Inpaint observations concerned the G'MIC variants, housed in the Gimp-G'MIC plugin (Filters -> G'MIC) then from within the plugin Repair->Inpaint (there are a number of implementations). Robinson's inpaint is good too, but my overall approach remains the same, to wit: making a patch from the first to the second, and altering the patch with an inverse perspective transformation so that it looks like part of the second.


Top
 Post subject: Re: Advice on Inpaint versions.
PostPosted: Sun Mar 08, 2015 11:25 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Odd. I tried to compile this into a 64 bit plug-in and the compile worked but i get an error running the GIMP start up (dll error). So i placed the executable in the GIMP program files/lib/gimp/2.0/plug-ins folder and got an 64 bit error. So i placed it in the 32 bits folder and then GIMP started but no plug-in for Inpaint under <Image>/Filters>Misc

Has this been compiled for 64 bit already?

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Advice on Inpaint versions.
PostPosted: Mon Mar 09, 2015 8:35 am  (#5) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 295
Location: Germany
@Rod: try this.


Attachments:
inpaintgimpplugin-inpaintgimpplugin-fc767fb.zip [5.69 MiB]
Downloaded 1233 times
Top
 Post subject: Re: Advice on Inpaint versions.
PostPosted: Mon Mar 09, 2015 11:26 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thanks a bunch Onkel! Works excellent. :)
How did you compile? What was your configure line?

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Advice on Inpaint versions.
PostPosted: Mon Mar 09, 2015 4:47 pm  (#7) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 295
Location: Germany
my configure line:

./configure --prefix=/opt --target=x86_64-w64-mingw32 LDFLAGS="-mwindows" CPPFLAGS="-mwindows -I/libs/include -I/usr/include -I/mingw/include -I/usr/python/include" LIBS="-L/libs/lib -L/usr/lib -L/mingw/lib -L/usr/python/Lib"

It is a default line for plug-ins.
The plug-in makes use of gimptool and gimp libraries. Maybe yours are pointing to an older gimp?

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gimp-2.8_dev/lib/pkgconfig <- Where to find the libgimp(xx)-2.0-0.dll
export PATH=$PATH:/opt/gimp-2.8_dev/bin <- where to find gimptool-2.0.exe

Be sure, the current values are exported prior to ./configure


Top
 Post subject: Re: Advice on Inpaint versions.
PostPosted: Mon Mar 09, 2015 5:21 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Oct 29, 2010
Posts: 711
Location: Netherlands
Re: inpaint.
I am confused.
There's a plug-in for Gimp which I compiled from source available at github.
Then there's 3 (!) G'mic plug-ins with the same name.
Haven't had time to experiment with either yet.
My question:which works better?
Gerard.

_________________
Gentoo Linux always up-to-date.
Kernel-3.17.4 Python-2.7.8/3.3.5
Gimp-2.8.14

I use Linux only.
And Virtualbox with Win 7


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Inpaint [version] none works

10

No new posts Advice on Teespring?

0

No new posts Resource Manager advice

6

No new posts Attachment(s) Good Advice For The Times

7

No new posts page of ALL GIMP versions

2



* Login  



Powered by phpBB3 © phpBB Group