-
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
-
5-9--14
we address the design of economical
recursive generalized comb filters (GCFs) by proposing an ef-
ficient technique to quantize the multipliers in the z-transfer
function employing power-of-2 (PO2) terms. GCFs are efficient
anti-aliasing decimation filters with improved selectivity and
quantization noise rejection performance around the so-called
folding bands with respect to classical comb filters. The proposed
quantization technique guarantees perfect pole–zero cancelation
in the rational z-transfer function of the GCFs, thus totally
avoiding instability problems. Moreover, we propose the use of a
simple droop compensator for the sake of recovering the passband
droop distorting the useful digital signal in the baseband. A design
example is proposed with the aim of showing the application of
the proposed technique, and a practical architecture of a sample
third-order GCF is discussed.
- 2014-09-05 14:49:45下载
- 积分:1
-
11
说明: 如何将Matlab7.0函数转换成VC++6.0动态链接库(vc++ and matlab )
- 2010-04-13 12:57:18下载
- 积分:1
-
20042316412259395
说明: matlab的雷达相关程序,包括MTIMTDCFAR,动目标自适应处理(Matlab radar procedures, including MTIMTDCFAR, Moving Target Adaptive Processing)
- 2006-04-22 06:52:55下载
- 积分:1
-
EPON
基本光纤组件,GUI图形界面,无内嵌函数,(Basic fiber optic components, GUI graphical interface, no built-in functions,)
- 2011-05-20 19:35:26下载
- 积分:1
-
dipole_example
dipole antenna simulation
- 2012-04-20 23:17:30下载
- 积分:1
-
dimension
维娜滤波器的设计matlab代码以及仿真(The design of Sabina filter dimension
)
- 2011-05-26 11:58:06下载
- 积分:1
-
Matlab--YINYUEJIANPAN
这次使用的设计软件是MATLAB的GUI模块,要设计一个音乐键盘要知道一个最简单的键盘本身要有36个发音键,既21个音阶和15个辅音阶。(The use of MATLAB software is the design of the GUI module, to design a music keyboard to know one of the most simple keyboard itself will have 36 pronunciation key, already 21 scales and 15 auxiliary scales.
)
- 2012-06-01 17:23:05下载
- 积分:1
-
different_coherent
实现扩频里随机信号和伪码序列的产生,以及扩频信号的产生,用本地载波实现bpskt调制,在接收端用差分相干积分完成伪码捕获的相应MATLAB程序(Spread spectrum signal generated in the realization and pseudo random code sequence, and generate a spread spectrum signal modulation to achieve bpskt local carrier, at the receiving end with the completion of the pseudo-differential coherent integration of the corresponding MATLAB code acquisition program)
- 2015-04-21 10:30:42下载
- 积分:1
-
MATLAB6
Matlab数学建模基础教程,估计可能学生用过的会多一点吧!(Basic Tutorial Matlab mathematical modeling, it is estimated will be more students used it!)
- 2011-05-05 18:37:14下载
- 积分:1