Jump to content

Fix Photo Bomb with G'mic - Inpaint filter


dipstick

Recommended Posts

This tutorial is available as a PDF. Click here to view or download it

 

You can use G'mic's Inpaint filter to help fix a photo bomb image. Example:

 

KeJ7gZg.gif

 

You'll need null54's G'mic plugin

 

It's a 2-step process:

 

1) Paint on a mask over offending object. Use Red at 255. Use brush hardness at 100. Disable Anti-Aliasing.

2) Run G'mic and go to Repair/Inpaint. I used [Multi-Scale]

3) Inpaint might not get everything, you can finish  off with Clone Stamp.

 

qHYXytj.png

 

txsPdPi.png

 

Enjoy...

  • Like 2
  • Upvote 1

69unju0.gif

Link to comment
Share on other sites

  • 1 year later...
15 minutes ago, Robert Smith said:

Marked areas don't look like natural. 

 

I can't believe you're complaining about this.

 

This was an automatic job done by a piece of software (amazing software)!

 

So, you have two small areas to clean up manually. Do you not understand how incredibly complicated an algorithm like this is?  That fact that it looks even remotely normal is an amazing feat!

 

It's comments like this that make me want to give up coding all together.

 

...NEVER SATISFIED...

 

  • Like 4
Link to comment
Share on other sites

16 hours ago, Robert Smith said:

You did well, But Marked areas don't look like natural.

 

All you needed to do was to work with clone brush right after and some bit of painting. The thing is that there's no good solution to this sort of task. On shadow, would play with lighting to solve that.

 

The OP only is pointing to a step to the right direction.

Edited by Reptillian
  • Like 1

G'MIC Filter Developer

Link to comment
Share on other sites

22 hours ago, BoltBait said:

 

I can't believe you're complaining about this.

 

This was an automatic job done by a piece of software (amazing software)!

 

So, you have two small areas to clean up manually. Do you not understand how incredibly complicated an algorithm like this is?  That fact that it looks even remotely normal is an amazing feat!

 

It's comments like this that make me want to give up coding all together.

 

...NEVER SATISFIED...

 

I am not complaining 😊 just saying that it could be better  

Link to comment
Share on other sites

  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...