-
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
-
rkv56
Fifth-order/Sixth-order Runge-Kutta-Verner variable step-size method
- 2010-02-08 16:20:01下载
- 积分:1
-
fuzzymlsimu
模糊控制仿真模型,采用MATLAB进行模糊控制系统仿真(FUZZY CONTROL SIMULINK)
- 2013-11-26 13:27:35下载
- 积分:1
-
BasicAntColon_AlgorithmmatlabforTSP
蚁群算法、TSP、MATLAB。已经调试通过,算法比较简洁。(Ant colony algorithm, TSP, MATLAB. Has been debugged, the algorithm of relative simplicity.)
- 2010-07-04 16:38:18下载
- 积分:1
-
work
各程序所完成的具体功能均在文件注释部分中注明!(All procedures are completed in a specific function in the document specified Notes section!)
- 2009-03-06 21:20:31下载
- 积分:1
-
shexingjidong
目标作蛇形机动matlab仿真,包括卡尔曼和最小二乘滤波,可出x,y方向误差,(Matlab simulation target for maneuver, including the Kalman and least square filtering, the x, y direction of error,)
- 2020-12-11 21:29:17下载
- 积分:1
-
esprit
说明: ESPRIT 算法的MATLAB仿真程序(ESPRIT algorithm MATLAB simulation program)
- 2008-09-20 09:11:11下载
- 积分:1
-
xinxishang
说明: :将信息论中熵的概念应用到特征选择中,定义了两种信息测度评价特征——误差熵和混叠熵,然后阐述了两种定义的不
用物理意义,分析了计算熵中最关键的区间划分问题,并提出一种较好的区间划分方法。(: The concept of entropy in information theory applied to feature selection, the definition of information measure evaluation of two features- error entropy and mixing entropy, and then describes the two definitions do not have the physical meaning of the calculation of entropy in the range of the most critical partitioning problem and propose a better method of interval division.)
- 2010-04-19 18:25:18下载
- 积分:1
-
Three Level NPC Converter SVPWM
说明: 压缩包为三电平NPC方法例程,调制方法是SVPWM,相关研究者可借鉴(The compression package is a three-level NPC method routine, and the modulation method is SVPWM. Relevant researchers can learn from it)
- 2021-03-18 16:09:19下载
- 积分:1
-
radar
使用Matlab的SIMULINK模仿末制导雷达的工作过程(The use of Matlab at the end of the SIMULINK imitate the work of the radar-guided process)
- 2009-03-16 21:47:28下载
- 积分:1