-
基于C实现的采样复制的纹理图像修复方法_可去除遮罩物
资源描述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 &nbs
- 2022-02-01 13:35:37下载
- 积分:1
-
求解对角线元素很小的矩阵的逆矩阵,避免一般求逆的溢出问题,用Fortran编写...
求解对角线元素很小的矩阵的逆矩阵,避免一般求逆的溢出问题,用Fortran编写-small diagonal elements of the matrix inverse matrix inversion generally avoid the overflow problems, Fortran prepared
- 2022-07-13 06:23:04下载
- 积分:1
-
TI DSP 642 上面运行的图像处理程序, 用来做sobel边缘提取
TI DSP 642 上面运行的图像处理程序, 用来做sobel边缘提取-TI DSP 642 above the operation of image processing procedures used to make sobel edge detection
- 2022-02-03 21:48:46下载
- 积分:1
-
on several spline interpolation algorithm classic
关于多次样条插值的经典算法-on several spline interpolation algorithm classic
- 2022-03-25 04:31:35下载
- 积分:1
-
This is a publication by the University of Cambridge, a set of c language inform...
这是一套由剑桥大学出版的一套c语言的科学计算资料及相关的算法源程序,非常权威,这套资料对从事软件开发,科研计算等人都非常有帮助-This is a publication by the University of Cambridge, a set of c language information and related scientific computing algorithm source code, very authoritative, this information is engaged in software development, scientific computing, such as people are very helpful
- 2022-04-21 23:36:00下载
- 积分:1
-
求解声学问题的边界元源程序,可以为使用边界元法求解位势问题和弹性力学问题提供启发...
求解声学问题的边界元源程序,可以为使用边界元法求解位势问题和弹性力学问题提供启发-problem solving acoustic BEM source, for the use of the boundary element method and the potential problems of elasticity to provide inspiration
- 2022-07-08 23:35:26下载
- 积分:1
-
Boostingbeta2
boosting的源代码,包括C++与matlab的混合编程。程序通俗易懂,经过运行测试。
- 2022-02-13 08:21:31下载
- 积分:1
-
mumford matlab code
mumford matlab code-mumford matlab code..............
- 2022-11-25 17:10:03下载
- 积分:1
-
这是一个求解数学问题:半径计算圆的周长和面积
这是一个求解数学问题:半径计算圆的周长和面积-This is a mathematical problem solving : Radius calculated the circumference of a circle and area
- 2023-03-15 19:25:03下载
- 积分:1
-
用于判断信号平稳性的递归图算法
递归图算法Recurrence Plot,RP,以一种简单的图形显示除了其在表征系统动力学特征方面的优点,被证明是一新的非线性分析的有效工具。新近的研究表明,对RP做定量的分析(RQA)可以得到许多表征RP的特征量,例如递归率、确定率、比率、线段分布的香浓熵等。对这些特征量的进一步分析有可能提供一些未知动力学系统的有用信息。本代码是RQA的一种实现。
- 2022-05-27 01:29:18下载
- 积分:1