-
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
-
Digital-Signal-Processing-Using-Matlab-V4---Ingle
Digital signal processing Using Matlab
- 2012-05-20 20:15:20下载
- 积分:1
-
bfgs
采用Bfgs算法解决光滑的半监督支持向量机,并采用不同的光滑函数进行比较(Using Bfgs algorithm to solve the smooth semi-supervised support vector machines, and using smooth function to compare different)
- 2014-02-11 21:10:45下载
- 积分:1
-
dosc
这个是光谱预处理的正交信号校正dosc的程序,希望能够帮助你(This is the spectral pre-processing of orthogonal signal correction dosc procedures, hoping to help you)
- 2016-11-23 19:11:41下载
- 积分:1
-
LPG
Plots of power and phase of two modes in transmission gratings(Long period gratings).
both numerical and analytical methods
- 2009-11-20 01:51:02下载
- 积分:1
-
fmap2
说明: matlab编写的训练som神经网络源程序
(Matlab prepared by the neural network training som source)
- 2006-01-12 15:15:01下载
- 积分:1
-
Time.Advanced.Harris
说明: 改进后的Harris检测,能大大提高检测效率。(Harris improved detection can greatly increase the efficiency of detection.)
- 2010-04-20 14:00:56下载
- 积分:1
-
8th_week
lyapunov指数计算常用方法,包括定义法、小数据量法、正交法、wolf法,以lorenz系统为例,内有详细说明,均以通过测试(lyapunov Index commonly used methods, including the definition of law, a small amount of data, orthogonal method, wolf law to lorenz system, for example, with detailed instructions, are tested)
- 2011-04-24 16:09:13下载
- 积分:1
-
Quadrature-demodulation
关于正交解调的几个源码,希望对大家有所帮助。(Quadrature demodulation on several source, we want to help.)
- 2011-11-08 19:41:09下载
- 积分:1
-
chap9
说明: 给出了一个控制系统的模型,此模型采用MATLAB模块搭建,解决跟踪问题(Gives a control system model, this model structures using MATLAB module to address the tracking problem)
- 2008-11-30 09:42:43下载
- 积分:1