-
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
-
Classifier_min_dist_f
最小距离分类器,matlab环境下,可直接调用(Minimum distance classifier, matlab environment, can be directly invoked)
- 2010-06-28 13:42:51下载
- 积分:1
-
Hough
说明: 此程序包包含了霍夫变换的大部分主要程序,常用于抑制噪音等(This package contains the Hough transform most of the major procedure commonly used in noise suppression)
- 2010-04-27 09:45:03下载
- 积分:1
-
ground-fault-derection
我国配电网一般采用中性点非有效接地方式,该配电网通常被称为小电流接地系统。故障选线是长期以来国内外关注的一大难题。提供了一种判别单相接地故障的程序,以及程序所用的数据。数据是EMTP仿真结果。(China' s distribution network is generally used non-effectively grounded neutral manner, often referred to as the distribution Netcom small current grounding system. Fault line is a major concern of long-standing problem at home and abroad. Provides a ground fault identification procedures and procedures used by the data. EMTP simulation results data.)
- 2011-09-30 22:47:19下载
- 积分:1
-
CycleLeap-Detection
Matlab实现的卫星数据周条探测,可以准确显示周跳发生的位置(Week article detection Matlab implementation of the satellite data, can accurately display the location of the cycle slip occurred)
- 2012-11-28 11:03:59下载
- 积分:1
-
PendulumAnimation
Simulation and Animation of a Linear and Nonlinear Pendulum Model
- 2014-01-25 16:07:50下载
- 积分:1
-
AR_spectrum
用matlab编写的AR谱分析程序及源数据(AR spectrum)
- 2012-05-30 10:04:51下载
- 积分:1
-
ins
比较全的捷联惯导程序,并且利用数据库存储陀螺和加速度输出,比较简便,经典的惯导程序(Compare the whole of the SINS program, and use the database to store the gyro and accelerometer output is relatively simple and classic INS procedures)
- 2012-07-09 21:42:26下载
- 积分:1
-
lsl
本自适应LSL算法实现线性预测
以及考察LSL算法的收敛性:
与LMS、RLS算法进行性能比较
(The LSL algorithm adaptive linear prediction and to study the LSL algorithm convergence: the LMS, RLS algorithm performance comparison)
- 2011-10-04 12:45:26下载
- 积分:1
-
New-folder
gpc law for matlab and gpc calculated
- 2014-02-21 15:27:07下载
- 积分:1