Imputation for inpaintings in images

Discuss digital image processing techniques and algorithms. We encourage its application to ImageMagick but you can discuss any software solutions here.
Post Reply
DictionaryProver
Posts: 1
Joined: 2014-04-30T15:36:35-07:00
Authentication code: 6789

Imputation for inpaintings in images

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Imputation for inpaintings in images

Post 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.
Post Reply