-
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
-
BP_PIDControl
基于BP神经网络的PID控制算法,可以实现对正弦、方波、阶跃信号的跟踪(BP neural network based on the PID control algorithm can be achieved for the sine, square, step tracking signal)
- 2009-06-10 21:44:08下载
- 积分:1
-
Upload_EZW128
matlab环境下利用零树小波的算法对图像进行压缩(using zerotree wavelet algorithm of image compression based on matab)
- 2011-12-05 22:04:43下载
- 积分:1
-
0.618-gold
0.618法求y=sin(x)在[0,2]极大值点(0.618 method y = sin (x) in [0, 2] the maximum points)
- 2015-04-16 16:29:15下载
- 积分:1
-
2a
说明: This program to simulation rectangular and triangular signal with matlab
- 2015-03-11 11:25:58下载
- 积分:1
-
MinimumCostFlow
说明: 最小费用最大流问题 MATLAB编程代码(Maximum flow problem minimum cost MATLAB programming code)
- 2009-08-13 18:20:01下载
- 积分:1
-
paper_sim
该例程是对无线中继系统能效性能方面的仿真,考虑了在最大传输速率下的最优能效,以及最小功率。(This routine is the wireless relay system energy efficiency performance of the simulation, considering the maximum transfer rate under the optimal energy efficiency, and the minimum power.)
- 2016-01-01 16:51:08下载
- 积分:1
-
stga
this is stga method in evolutionay computing
- 2009-05-29 15:16:41下载
- 积分:1
-
FastICA25
FastICA25--快速独立分量分解算法(FastICA25 - fast independent component decomposition)
- 2008-07-22 12:10:19下载
- 积分:1
-
atmos_module
标准大气模块,MATLAB/GUI,标准大气温度、压力、密度,用于飞行控制。(atmosphere module in MATLAB)
- 2014-11-19 18:36:06下载
- 积分:1