I really like and often use the “Patch-based” inpainting filter on the Qt interface of G’mic.
I know this filter is becoming a bit dated and slow compared to others (like multiscale or Gimp’s resynthesizer) but to me it still has great value in quality of results and compatibility with applications.
However, knowing truly how its parameters work would prevent a lot of blind trial and error every time I use this filter on my photos.
I’ve looked everywhere I can think of (documentation pages, Pat David’s tutorial, this forum and others) but couldn’t get a complete understanding of what the sliders and their value really mean and why they are clamped at the values they are. Namely:
All “size” parameters: what is their unit? Pixels? Percent? Why do they clamp at their respective value?
how much the lookup area influences the structure of the inpainting.
That is very unclear to me. Isn’t the inpainting using only parts of the lookup area anyway? And what does “structure” mean here?
Blend threshold: Very obscure to me. I guess based on the input value, it may stop applying a blend in some areas of the picture where… something is happening to a certain degree. Yay!
Blend decay: Wait. I thought the blend size would already define its decay. Are we thinking of the same kind of decay? Also why does it clamp at 0.5?
Blend Scales: Are we talking “scales” as in “sizes” or as in “structure of patches” (i.e like the scales on a chameleon )? And what does the value really mean anyway?
Mask dilation: What in this process contains a mask? Is it the patches? If so, I assume that if you dilate, each patch grows bigger or shrinks? So then which patch dominates a neighbor patch is up to the order in which they are pasted? I’m purely guessing from the name here.
Thanks in advance for your help.