- you earned "Featured Contributor" badge, congratulations !
This is a great post and it has been selected for the curated Staff Picks group. Your profile is now distinguished by a "Featured Contributor" badge and displayed on the "Featured Contributor" board.
That looks like good restoration, Markus. Thanks for sharing it!
For comparison, see below the results of the function Inpaint with two different methods yielding similar results. You'll also be pleased with the speed.
Inpaint
Matthias, thanks for pointing out Inpaint, of course there is already a built-in function ;) I still would be curious how much one could speed up my code - probably not up to compete with the internal functions, but who knows.