Problems using gmic inpaint patch filter in gmic

(Tagging @David_Tschumperle )

There is a huge discrepancy between the preview that comes up when using inpaint patch based filter and the final result. This is using gimp.

Any idea why is that? This is the final image

And this is the preview before applying the filter to get the final image

Some filters depend on the preview size of the image in gimp, that is, if you zoom in or zoom out, the way the filter is applied changes. Not saying that is what is happening here, but always good to keep in mind.

I’m not surprised either. Inpainting is the typical example of algorithms that rely on non-local image information.
A preview window show only a small portion of the original image, so the algorithm won’t have exactly the same information to work with than in the whole image. As inpainting is a very chaotic process (one reconstructed pixel at one iteration has a strong influence on the pixels reconstructed at iterations done after), there are almost 0% chance to get a final result that exactly matches the preview.

Thanks @David_Tschumperle . What I am seeing is almost a consistent behaviour where the preview outperforms the filters final result by a huge margin. Are there a different set of params for the preview?