-
基于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
-
ADT 数据结构的一个简单实现
包含结构体的应用 以及相关文件的配合使用
当然还会用一些算法方面的知识
基于VC 6.0 的开发
想要学习数据结构这方面的知识你会发现这个源码会是一个很好的初步学习 领你入门的
- 2022-03-11 11:40:48下载
- 积分:1
-
pseudo
伪随机数生成算法,很优秀,32位real-pseudo-random number generation algorithms, excellent, 32 real
- 2023-04-03 03:45:03下载
- 积分:1
-
图形的透视投影变换
一种几何校正方法以消除投影图像的畸变: 通过查找后向映射表, 借助双线性插值运算, 对图像进行几
何预畸变, 使其变形为投影仪所需要的预畸变图像, 然后将其投影到非平面物体上, 便能让观察者看到无畸变的投
影图像, 从而实现投影图像畸变的校正。
- 2022-09-29 14:50:03下载
- 积分:1
-
acm换钱的算法,主要检查货币的度量衡是否可以用贪心法
acm换钱的算法,主要检查货币的度量衡是否可以用贪心法-acm exchange algorithms, the main currency of the Weights and Measures to check whether the greedy method can be used
- 2023-01-06 12:45:03下载
- 积分:1
-
计算圆覆盖率源程序,很精彩!
计算圆覆盖率源程序,很精彩!-round coverage calculation source, wonderful!
- 2022-07-17 11:39:06下载
- 积分:1
-
《计算机算法基础》关于选择问题算法:找第k小元素,时间复杂度为O(n);...
《计算机算法基础》关于选择问题算法:找第k小元素,时间复杂度为O(n);-"computer algorithm based" on the choice of algorithm : k find small elements, time complexity of O (n);
- 2022-02-27 01:43:45下载
- 积分:1
-
FibnachC
实现超长位数的Fibnach数列的计算程序,用C++语言实现。-FibnachC
- 2022-07-27 19:49:59下载
- 积分:1
-
a good virtual oscilloscope! Be a direct run! Through his serial signal acquisit...
一个很好的虚拟示波器!可一直接运行!他通过串口采集信号与系统单片机上的数据,把其波形显示在视图中~完全类似于数字示波器的操作-a good virtual oscilloscope! Be a direct run! Through his serial signal acquisition system with microcontroller on the data, its waveform displayed on the View were similar to the fully-digital oscilloscope operation! !
- 2023-08-16 21:40:03下载
- 积分:1
-
关于限制性四叉树实现算法的,很不错哦!
关于限制性四叉树实现算法的,很不错哦!- Realizes the algorithm about the restrictive four forks tree,
is very good oh!
- 2022-07-09 04:26:04下载
- 积分:1