-
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
-
lglrczf
拉格朗日内插法的matlab实现 改进后可用于多种用途(Matlab Lagrange interpolation method can be used to achieve the improved multi-purpose)
- 2010-09-30 20:03:31下载
- 积分:1
-
StandardFFT
对信号进行傅里叶变换,并绘出频谱图,功率谱,对数谱等。然后对信号进行反傅里叶变换恢复出原始信号,并绘出其各种谱图(The Fourier transform of the signal, and plot the frequency spectrum, power spectrum, the number spectrum. And inverse Fourier transform to recover the original signal and plot its various spectrum signal)
- 2013-03-06 11:13:26下载
- 积分:1
-
minGS
用Goldstein法求解一维函数的极值
(By Goldstein method for solving one-dimensional function of the extreme)
- 2013-12-08 18:12:05下载
- 积分:1
-
MyMFile
通信系统仿真中,QPSK调制下的高斯信道Matlab仿真(the simulation of the Gaussian channel in communication system )
- 2012-01-02 14:08:33下载
- 积分:1
-
5
说明: 用Newton插值多项式和三次样条插值多项式,已知f(x)=1/(1+25x^2)(With the Newton interpolation polynomial and cubic spline interpolation polynomial, known f (x) = 1/(1+25 x ^ 2))
- 2010-08-26 21:13:35下载
- 积分:1
-
mod-a-demod
it is a program of modultion & demodulation of voice signal
- 2014-09-08 02:44:22下载
- 积分:1
-
Fuzzy-auto-tuning-for-a-PID-controller
i want to fuzzy pid code for my thesis work
- 2013-03-23 15:30:58下载
- 积分:1
-
MT
说明: 二层介质大地电磁响应,MATLAB编程,模拟二层介质的大地电磁响应曲线(Two-story media magnetotelluric response, MATLAB programming, analog two-story media magnetotelluric response curve)
- 2010-03-16 21:15:35下载
- 积分:1
-
RAY1
用MATLAB软件模拟瑞利衰落(仿真图形)(Using MATLAB software to simulate the Rayleigh fading)
- 2012-04-05 19:02:27下载
- 积分:1