-
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
-
on_and_software_radio_for_mobile_communication
on_and_software_radio_for_mobile_communication随书附赠源代码(on_and_software_radio_for_mobile_com munication with books attach source code)
- 2007-01-26 18:28:06下载
- 积分:1
-
Smart_Antenna_System
Smart Antenna System souce code (Smart Antenna System souce code)
- 2007-11-12 16:43:36下载
- 积分:1
-
Untitledx
二维函数逼近仿真,包含误差分析,三维图显示(Two-dimensional function approximation simulation, including error analysis, three-dimensional map display)
- 2011-05-28 19:50:17下载
- 积分:1
-
Mypush_Callback
排队论 (Queuing Theory)也称随机服务系统理论,就是为解决有关排队问题而发展的一门学科。(Queuing theory (Queuing Theory), also known as stochastic service system theory, a discipline is developed to solve the queuing problem.)
- 2012-05-24 14:19:46下载
- 积分:1
-
matlab-d-
matlab遗传算法代码,非常不错,值得看看(matlab genetic algorithm code, very good, worth a look)
- 2013-11-15 16:36:53下载
- 积分:1
-
smpso
改进型pso ,可以在matlab7.0环境下运行,其他版本的还未运行过,不能保证(Improved pso, can run matlab7.0 environment, other versions have not yet run, does not guarantee)
- 2008-01-09 15:09:03下载
- 积分:1
-
stochastic-matlab
关于用MATLAB处理随机过程课程的程序编写介绍.(About using MATLAB program to deal with random processes course to write the introduction.)
- 2013-04-12 03:31:29下载
- 积分:1
-
LM_example
利用LM方法的非线性最小二乘法的matlab程序(LM method is the use of a nonlinear least squares method matlab program)
- 2020-10-30 10:19:56下载
- 积分:1
-
Real_option_pricing-homogenous_case
MatLab source code for real option pricing. These real options are based on exponential mean reverting process and we assume that the price is only a function of asset, i.e. we consider only homogenous case.
- 2010-08-25 16:14:36下载
- 积分:1