Jump to content
How to Install Plugins ×

Fill Gaps v1.0


HiPhiSch

Recommended Posts

Ok, my third plugin is something I always wanted to have. Something to fill parts deleted from an image based on the surroundings:

Fill Gaps v1.0 (found in the "Render" submenu)

Demo 0 -- The extreme case (Done with default parameters):

00demo_1.jpg

 

Demo 1 -- The simple case (Similar colors at the border, done with default parameters):

01demo_1.jpg

 

Demo 2 -- Combination with plugin "Selective Toning" (Overlap: 20, Precision: 20)

demo02_1.jpg

 

User Interface:

UI_1.jpg

 

Hints on usage:

* The plugin will try to fill everything transparent in the selected region. Since layers are often transparent in the outer part, make sure to additionally select only the part you want to have filled! (For instance, use the wand on the outside and press + i to invert the selection)

* The calculations of the algorithm take some time. The first to sliders control quality and calculation time. Left: fast, right: slow, but better looking

* The two sliders tell the plugin what it treats as transparent. The third slider is the threshold value used for what pixels should be filled. The last one is the threshold for what pixels should be considered during reconstruction.

How it works:

* From each transparent pixel some circles are expanded. For some points on the circle the color values are considered. The precision value is equal to two times the pixel colors used.

* If colored pixeled are found the circle may still be expanded a little more, to get some more averaging over colors. The min overlap slider controls how many steps the circle will be increased, after the first pixel colors are found.

* The final color value of each pixel will be the average of all relevant pixel colors.

 

Download:    > >   Fill_Gaps_v1.0.zip    < <

 

Source code (for programmers): https://www.dropbox.com/s/jzko9aelxlgg9el/Fill_gaps_v1.0_source.zip?dl=0

 

 

 

The source code is for BoltBait's great plugin "Code Lab"!

I hope you like it,

Philipp

  • Upvote 1
Siggi.gif
Link to comment
Share on other sites

  • 7 months later...

Rehosted images - Thanks to ReMake

Link to comment
Share on other sites

  • 1 year 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...