-
inpainting
image inpainting
(CS7495 Final Project
Sooraj Bhat
Object Removal by Exemplar-based Inpainting
USING THE CODE
Everything was done in Matlab and MEX (i.e. a C function callable from
Matlab). First, the C code needs to be compiled. At the Matlab
prompt, type:
mex bestexemplarhelper.c
You should then be able to run the following (which takes ~2mins on my
2GHz Pentium 4 laptop with 256MB of RAM):
[i1,i2,i3,c,d,mov] = inpaint( bungee0.png , bungee1.png ,[0 255 0])
A smaller run (~25 seconds) would be:
[i1,i2,i3,c,d,mov] = inpaint( bw0.png , bw2.png ,[0 255 0])
To visualize:
plotall
close movie(mov)
SAMPLE IMAGES & RESULTS
*0.png The original images ( bw and bungee )
*{1,2}.png The different fill region masks.
*P2.png Plots of confidence and data terms.
*P5.png Plots of original, fill region, inpainted images and
confidence and data terms.
Other images in the dir contain redundant information. I di)
- 2010-06-19 21:00:49下载
- 积分:1
-
MATLAB
MATLAB Primer (7th Ed) - Timothy A. Davis & Kermit Sigmon(MATLAB Primer (7th Ed)- Timothy A. Davis & Kermit Sigmon)
- 2009-04-12 04:44:14下载
- 积分:1
-
vit
vit程序清晰简单,容易阅读,matlab调用易实现(vit procedures clear and straightforward, easy to read, matlab call easy to realize)
- 2011-05-03 14:19:19下载
- 积分:1
-
cPP
c++ 通用弹道仿真计算程序(经典版) 程序源代码(c++ common trajectory simulation program (classic version) source code)
- 2015-03-04 14:26:40下载
- 积分:1
-
quzao
去除图像噪声椒盐噪声高斯噪声实现图像处理(Salt and pepper noise removal of image noise, Gaussian noise, Image Processing)
- 2010-08-25 10:07:06下载
- 积分:1
-
kaufman
Direct Adaptive Control Algorithms
- 2009-05-11 00:21:06下载
- 积分:1
-
mypapr_u_yuxin
MATLAB仿真PAPR中的实际图形,用的是u压扩的方案(MATLAB simulation of the actual graphics PAPR, with the pressure of expanding the program u)
- 2011-04-19 15:05:26下载
- 积分:1
-
Implementation-of-Fuzzy-Controller-for-Water-Bath
PROJECT REPORT on FUZZY based TEMPERATURE CONTROLLER
- 2014-02-24 14:42:53下载
- 积分:1
-
MATLAB与机器学习
说明: 此为机器学习中的常见算法的matlab代码,代码注释详细,易上手(This is a common algorithm in machine learning matlab code, code comments in detail, easy to use)
- 2020-07-08 00:18:57下载
- 积分:1
-
treegraf
说明: 用于二叉树寻索,找出在一个确定的矩形中,数量最大的圆或者矩形(treegraf used to find the most round or rectangle in a big rectangle)
- 2020-06-16 11:40:01下载
- 积分:1