Patch_inpainting
所属分类:GPS编程
开发工具:matlab
文件大小:988KB
下载次数:10
上传日期:2017-12-04 17:45:05
上 传 者:
hsyn
说明: digital image inpainting with source code
文件列表:
Patch_inpainting (0, 2016-08-12)
Patch_inpainting\Lena_input.png (10340, 2015-12-04)
Patch_inpainting\Lena.png (473831, 2015-11-24)
Patch_inpainting\initialise_occlusion.m (3282, 2016-05-04)
Patch_inpainting\nearest_neighbour_field.m (1414, 2015-12-07)
Patch_inpainting\imshow_occ.m (402, 2015-12-04)
Patch_inpainting\inpaint_image.m (2725, 2016-08-12)
Patch_inpainting\test_inpainting.m (674, 2016-08-12)
Patch_inpainting\reconstruct_image.m (2026, 2015-12-07)
Patch_inpainting\Draw_figures (0, 2015-12-03)
Patch_inpainting\Draw_figures\show_frames_correspondances.m (1605, 2012-04-16)
Patch_inpainting\Draw_figures\show_frames_correspondances.asv (1351, 2012-04-03)
Patch_inpainting\Draw_figures\set_figure_property.m (5918, 2012-10-12)
Patch_inpainting\Draw_figures\resetframes_callback.m (1486, 2012-10-12)
Patch_inpainting\Draw_figures\resetanalysisbutton_callback.m (1117, 2015-11-10)
Patch_inpainting\Draw_figures\resetanalysisbutton_callback.asv (1216, 2013-05-21)
Patch_inpainting\Draw_figures\initialise_analysis_figure.m (4204, 2015-11-10)
Patch_inpainting\Draw_figures\initialise_analysis_figure.asv (4252, 2013-05-23)
Patch_inpainting\Draw_figures\get_line_coordinates.m (1000, 2012-11-14)
Patch_inpainting\Draw_figures\get_line_coordinates.asv (919, 2012-11-14)
Patch_inpainting\Draw_figures\get_figure_property.m (3637, 2012-04-11)
Patch_inpainting\Draw_figures\get_figure_child.m (282, 2011-04-13)
Patch_inpainting\Draw_figures\ds2nfu.zip (2297, 2012-04-02)
Patch_inpainting\Draw_figures\ds2nfu.m (3102, 2012-04-03)
Patch_inpainting\Draw_figures\changeiteration_callback.asv (1268, 2012-10-22)
Patch_inpainting\Draw_figures\changeframepopup_callback.m (1371, 2012-11-30)
Patch_inpainting\Draw_figures\changecorrespondanciespopup_callback.m (1455, 2013-03-27)
Patch_inpainting\Draw_figures\changecorrespondanciespopup_callback.asv (1486, 2013-03-27)
Patch_inpainting\Draw_figures\changeanalysispopup_callback.m (1739, 2013-03-04)
Patch_inpainting\Draw_figures\axescoord2figurecoord.zip (2134, 2012-04-02)
Patch_inpainting\Draw_figures\axescoord2figurecoord.m (3224, 2009-05-25)
Patch_inpainting\Draw_figures\analyseshiftbutton_callback.m (226, 2012-10-12)
Patch_inpainting\Draw_figures\analyse_shift_map.m (4685, 2015-12-03)
... ...
━━━━━━━━
README
━━━━━━━━
Table of Contents
─────────────────
1 About
2 Overview
3 Requirements
4 Usage
.. 4.1 Description
1 About
═══════
Author : Al***air Newson
,
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without any warranty.
2 Overview
══════════
This source code provides an implementation of a variational patch-based image inpainting approach. This is an approach used by the following works :
Yonatan Wexler, Eli Schechtman and Michal Irani
Space-time completion of video
IEEE. Trans. Pattern Analysis and Machine Intelligence, 29 (2007), pp. 463-476.
Arias P, Facciolo G, Caselles V, Sapiro G.
A Variational Framework for Exemplar-Based Image Inpainting.
International Journal of Computer Vision, 2011
Video Inpainting of Complex Scenes
Al***air Newson, Andres Almansa, Matthieu Fradet, Yann Gousseau, Patrick Perez
SIAM Journal of Imaging Science 2014 7:4, 1993-2019
If you wish to use this code, please cite my website :
https://sites.google.com/site/al***airnewson/research/image-inpainting
3 Requirements
═════════════
To use this code, you need Matlab and the image processing and machine learning toolboxes. In particular, you will need to be able to call the knnsearch function in Matlab, which is quite recent.
4 Usage
═══════
The inpainting code is contained in the 'inpaint_image.m' file, and takes the following inputs :
imgInInit : grey-level input image to inpaint
occInInit : occlusion, a binary image which shows where to inpaint (0 for no inpainting, 1 for inpainting)
#optional parameters
patchSize : size of the square patches [5]
nLevels : number of levels in the multi-resolution framework [3]
nIters : number of inpainting iterations within one multi-resolution level [20]
To run a test of the code, run the 'test_inpainting.m' file, for example, in the following manner :
>> test_inpainting
5 Bugs Report
═════════════
You can report any bugs to :
al***airnewson.work@gmail.fr
近期下载者:
相关文件:
收藏者: