-
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
-
g729
G729编码和解码的Matlab源程序 调用方法:
1.需要编码时,在 Matlab命令行下输入"G729code(speech)"(请务必保证 speech是已经存在在 Matlab工作区的一个行向量,其中是语音数据),然后你会在你的文件夹下看到一个"coding.bit"的文件。
2.需要解码时,把"coding.bit"的文件复制到"G729 decoder"的目录下,在Matlab命令行下输入"G729decodermain",然后你会在文件夹下看到"syn_speech.wav",那就是重构语音。
enjoy it!
(G729 encoding and decoding of the Matlab source code to call methods: 1. The need for coding at the Matlab command line, enter )
- 2007-11-21 23:02:40下载
- 积分:1
-
zzz099SVM
为了对目标进行快速的检测,提出了一种新的基于支持向量机的级联式分类器的构造方法。该级联分类器由若干个线性SVM弱分类器构成,结构简单,分类时间极快。针对级联结构中的每个节点的训练给出了一个新的SVM框架下的二次规划模型,这使得每个节点都有较高的正样本检测率和适当的负样本错检率。(In order to quickly detect the target, a new cascade based on support vector machine classifier constructor. The cascade is controlled by a number of weak linear SVM classifier structure, simple structure, classification of time fast. Cascade structure for the training of each node is given a new SVM quadratic programming model under the framework, which allows each node has a higher detection rate of positive samples and negative samples of appropriate fault detection rate.)
- 2011-04-27 17:23:23下载
- 积分:1
-
ssim_mscale_new
multi scale structural similarity index
- 2013-09-25 19:07:13下载
- 积分:1
-
depsV1.0.001
matlab codes related to pso.
- 2013-02-27 18:07:56下载
- 积分:1
-
src
Voice detection using zero crossing rate and STE
- 2014-01-20 00:40:55下载
- 积分:1
-
preparsedcode
iris pattern recognition for eye scan
- 2009-02-27 15:41:38下载
- 积分:1
-
IDW
反距离加权插值法idw的matlab算法,含文件《IDW在医学断层图像可视化中的应用》及《基于ArcGIS两种空间插值方法的比较》。(Matlab algorithm, inverse distance weighted interpolation method idw file containing " IDW medical images visualization based on ArcGIS two spatial interpolation method of comparison." )
- 2013-01-10 11:38:19下载
- 积分:1
-
MatlabGAILVHANSHUDAQUAN
基于MATLAB提供的函数,帮助初学者使用概率统计函数,以及计算概率分布函数的参数。(Based on MATLAB provides functions to help beginners to use probability and statistics functions, and to calculate the probability distribution function parameters.)
- 2013-09-18 19:08:20下载
- 积分:1
-
comunication
salam.I try to upload other three files. please give me a program.
- 2009-12-31 20:32:52下载
- 积分:1