Higher-order total variation inpainting
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.
Cite As
Carola-Bibiane Schönlieb (2024). Higher-order total variation inpainting (https://www.mathworks.com/matlabcentral/fileexchange/34356-higher-order-total-variation-inpainting), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Filtering >
Tags
Acknowledgements
Inspired: MATLAB/Python Codes for the Image Inpainting Problem
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.