-
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
-
kruskal
说明: kruskal 算法程序 解决最短路径问题 (kruskal shortest path algorithm to solve the issue of procedures)
- 2009-08-18 23:59:24下载
- 积分:1
-
pso1
标准的粒子群算法,还有几个简单的粒子群函数,并作出了简单的分析(The standard particle swarm algorithm, there are a few simple function of particle swarm, and made a simple analysis)
- 2010-09-06 15:12:04下载
- 积分:1
-
ldpc_iwbf
improved weighted bit-flipping algorithm in matlab m-file
- 2010-11-24 22:17:48下载
- 积分:1
-
antenna-matlab-simulation-
与《通信天线建模与matlab仿真分析》配套的光盘("communications antenna matlab simulation modeling and analysis " supporting the CD-ROM
)
- 2011-02-09 22:43:03下载
- 积分:1
-
v_limite_betaDQM
DQM法求解输液管道的流致振动问题,求解临界流速。考察颤振失稳和发散失稳的失稳方式。(DQM pipeline flow infusion method induced vibration problems, solving the critical velocity. Investigated the flutter instability and divergence instability of the instability mode.)
- 2011-06-10 11:28:25下载
- 积分:1
-
NLMS2
帮助实现N阶自适应滤波器的滤波原理,通过读入一组信号并对其进行去噪的处理,通过频谱图看出其良好的滤波效果从而发现N阶自适应滤波器的优点(N-order adaptive filter to help achieve the principle of filtering, by reading into a signal and its de-noising processing, through the spectrum to see their good filtering effect to discover the advantages of adaptive filter of order N)
- 2011-07-28 09:23:29下载
- 积分:1
-
RLS
RLS自适应均衡仿真程序.采用多级抽头,有信噪比(RLS adaptive equalizer simulation program. Multi-level tap, has signal to noise ratio)
- 2007-09-27 15:25:14下载
- 积分:1
-
113172205sa
说明: 模拟退火的实现代码,给出具体的案例分析。可以按照不同需要对程序体进行改进(The realization of simulated annealing code, gives specific case studies. According to the different needs of the program to improve body)
- 2008-11-14 16:46:02下载
- 积分:1
-
Sample_Chapter
bestEbook : Programming in MATLAB ebook
- 2013-08-06 06:16:44下载
- 积分:1