-
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
-
SeDuMiInt104
说明: 这是matlab解2阶锥工具包,找了很久才找到(This is a solution of 2-order cone matlab toolkits, looking for a long time to find)
- 2008-11-14 11:49:55下载
- 积分:1
-
vr
说明: 混沌工具function [dlogCr,dlogr,dlogCrCI]=vr(logCr,logr,alpha)(function [dlogCr,dlogr,dlogCrCI]=vr(logCr,logr,alpha))
- 2010-04-25 23:58:45下载
- 积分:1
-
arrow3d
matlab 本身没有箭头功能,只有梯度,梯度不能精确,这是编写的箭头功能,可以精确定位箭头三维位置(matlab function itself has no arrows, only gradient, the gradient is not accurate, it is written in the arrow function, you can pinpoint the location of the arrow D)
- 2013-12-05 09:42:28下载
- 积分:1
-
sgarbf
基本遗传算法,RBF神经网络算法,BP神经网络算法,一共5个源代码.程序可移植性强.(Basic genetic algorithm, RBF neural network algorithm, BP neural network algorithm, a total of 5 source code. Program portability strong.()
- 2009-03-12 12:17:22下载
- 积分:1
-
MATLABSimulink电力系统建模
说明: 基于MATLAB SIMULINK的电力系统建模,仿真效果不错,欢迎借鉴。(Based on MATLAB Simulink power system modeling, simulation effect is good, welcome to learn.)
- 2020-04-23 15:09:25下载
- 积分:1
-
matlab
说明: matlab课程设计 任意信号卷积的运算,并且绘制图象.(matlab course design any signal convolution operation, and draw images.)
- 2011-03-28 16:41:58下载
- 积分:1
-
runopf
是学习matlab的很好程序资料 可以用来方便计算最优潮流程序 (Matlab is a good learning process information can be used to facilitate optimal power flow calculation procedures)
- 2007-03-19 15:04:52下载
- 积分:1
-
Data-description-toolbox_1.75
好用的数据描述工具箱,SVDD等各类描述工具。(Data description toolbox
dd tools 1.7.5
A Matlab toolbox for data description, outlier and novelty detection)
- 2012-07-07 19:07:30下载
- 积分:1
-
CDFP
Corrector dinamico de factor de potencia en simulink
- 2013-05-17 03:54:38下载
- 积分:1