Page 1 of 1

Imputation for inpaintings in images

Posted: 2014-04-30T15:37:41-07:00
by DictionaryProver
Hi

I want to develop a procedure to remove some inpainted text from images, i.e. I have to estimate the inpainted pixels. I will do that with first an imputation step and then applying SVD (and perhaps later further improvements).

The imputations step just have to give an initial guess of the inpainted pixels. I thought of applying a gaussian filter to get estimates of the inpainted pixels, but I think this does not give good results.

Does somebody know another way to get good inital guesses, i.e. imputations?

Re: Imputation for inpaintings in images

Posted: 2014-04-30T16:16:29-07:00
by fmw42
I do not know if this will help, but see viewtopic.php?f=1&t=12517. IM now has its own morphology function rather than using my script. See http://www.imagemagick.org/Usage/morphology/.

If regions are larger, then you could try using -sparse-color with shepards interpolation

see
http://www.imagemagick.org/Usage/canvas/#sparse-color
http://www.imagemagick.org/Usage/canvas/#sparse_fill
http://www.imagemagick.org/Usage/canvas/#sparse_blur
http://www.imagemagick.org/Usage/distorts/#shepards

Let us know how your coding goes. We would be interested in having inpainting in Imagemagick.