3.5 | 2 ratings Rate this file 62 Downloads (last 30 days) File Size: 192 KB File ID: #34356

Higher-order total variation inpainting



26 Dec 2011 (Updated )

M-files for inpainting with nonlinear and higher-order PDEs

| Watch this File

File Information

M-files for inpainting with:

M1: heat_equation.m: the heat equation (harmonic inpainting)
M2: bvl2_inpainting_convs.m: standard total variation inpainting
M3: bvnegh_inpainting_convs.m: a fourth-order total variation PDE for inpainting.

Mat-files include:

MAT1: strip1ades.mat (default image): black strip on white background with a small hole in the middle. All three inpainting methods M1-M3 give similar results. The strip inpainted with M2 and M3 has sharper edges than the one inpainted with M1.
MAT2: strip1ades1.mat: the same black strip as in MAT1 but with a larger hole in the middle. For this example the higher-order inpainting method M3 clearly outperforms the other two inpainting methods.
MAT3: elephantcropdes1.mat: image of elephants with speckled inpainting domain.

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
10 Jun 2014 Egor

it is working somehow, but i can't understand why script is bluring whole image(with mask, defined in small region). can you comment this, please?

16 Oct 2012 raj kumar  
07 Aug 2012

1. More description on the m- and mat-files included in the program.
2. Update of bvnegh_inpainting_convs.m. There has been an error in the initial assignment of variables before the inpainting algorithm could actually start.

Contact us