-
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
-
LogMAPdecoder_HTM
this is a simulation for Log-MAP decoder in channel coding systems...
- 2011-07-08 18:05:36下载
- 积分:1
-
nodereplacechildnewchilddiffdocument
D O M Test Incompatible Exception Source Code for Andriod.
- 2013-11-28 11:28:42下载
- 积分:1
-
稀疏贝叶斯
基于稀疏贝叶斯学习的稀疏向量恢复算法,里面包含多个情景下的仿真程序和说明(Sparse vectors recovery based on SBL)
- 2021-03-01 17:09:34下载
- 积分:1
-
pit
说明: 利用AMDF法求语音信号的基音周期(结果为时频图)(Pitch detection by AMDF algorithm)
- 2010-03-22 08:24:51下载
- 积分:1
-
MAtLAB
hvac transmission system
- 2015-01-02 15:49:06下载
- 积分:1
-
GridDelete
A grid with vertical spacing between rows Source Code for Andriod.
- 2013-12-16 11:31:51下载
- 积分:1
-
CVPR09-ScSPM
Linear Spatial Pyramid Matching Using Sparse Coding 图像分类实现代码(Linear Spatial Pyramid Matching Using Sparse Coding image classification implementation code)
- 2013-03-06 21:31:44下载
- 积分:1
-
communication-theory(MATLAB)
此代码配套著名教材《通信原理》(樊昌信),有利于初学者更好理解通信原理(This code supporting well-known textbook "Communication Theory" (Fan Changxin), will help beginners to better understand communication theory)
- 2011-10-20 22:44:09下载
- 积分:1
-
ml
说明: 该算法包含极大似然估计的梯度算法和快速ica算法,已经调试成功过,调试时注意所给信号x是行向量还是列向量(The algorithm contains the maximum likelihood estimation of the gradient method and fast ica algorithm, has been debugged, debugging attention given signal x is a row vector or column vector)
- 2010-05-23 10:56:22下载
- 积分:1