-
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
-
Image_cropping
批量地对图像进行自由剪裁 以达到想要的大小 并能批量输出( batch crop the image freely and batch output)
- 2010-09-21 17:17:30下载
- 积分:1
-
kalman
是kalman滤波的matlab仿真,以及扩展算法容错,适合初学者(Kalman filter matlab simulation, and the expansion algorithm fault-tolerant, suitable for beginners)
- 2013-04-29 11:49:56下载
- 积分:1
-
GA_SVM
对于小样本而言,SVM的仿真效果要比神经网络好,但是SVM的性能依赖于它的两个训练参数,本算法是用GA自动选择SVM的两个参数。(For small sample case, SVM simulation results than the neural network is good, but the performance of SVM depends on its two training parameters, the algorithm is automatically selected GA parameters of SVM-2.)
- 2009-11-19 11:55:02下载
- 积分:1
-
hybrid-PSO
说明: 这是一个混合的粒子群算法编程实现,希望对大家有帮助(hybrid PSO code in matlab)
- 2009-08-28 10:01:56下载
- 积分:1
-
kalman
卡尔曼滤波的国外论文,详细讲述了卡尔曼滤波的提出背景,以及应用场合,是卡尔曼那滤波的经典论文(kalman filter )
- 2015-01-04 11:47:15下载
- 积分:1
-
mycdma
MATKAB实现CDMA System 仿真(Coaxial Cable Based CDMA System Simulation)
- 2009-04-14 22:54:21下载
- 积分:1
-
analysis-numerik
analysis numeric, polinom 4 deg
- 2013-09-22 13:28:30下载
- 积分:1
-
XYFuction
生成一系列X-Y多项式的程序,当你输入K值时,可以生成K(K-1)/2个基函数。可以直接调用(Generates a series of x-y polynomial program, when you enter K value, can generate K (K- 1)/2 basis functions.You can directly call)
- 2015-04-15 15:08:51下载
- 积分:1
-
HausdorffRegression
Hausdorff回归的主要优点是不应该指定的错误(垂直,水平,方向正交...与普通最小二乘),它是相对于较少的距离平方敏感。(The main advantages of the Hausdorff regression are that one should not specify the direction of the errors (vertical, horizontal, orthogonal ... with the ordinary least squares) and that it is less sensitive with respect to the square of the distance.)
- 2010-06-25 20:13:32下载
- 积分:1