-
基于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
-
MTL C++数字图书馆
MTL C++ Numeric Library-MTL C Library
- 2023-01-21 11:55:04下载
- 积分:1
-
Voronoi 图
执行的 voronoi 图在 javascript 中,它用来分发农技团在某一特定的区域 ; 在地图上画出 voronoi 图单元格中的每个点代表一台机器。
- 2022-03-15 03:13:55下载
- 积分:1
-
连通域提取算法
这个是纯C写的连通域提取算法,速度和效率相对较快,在算法中采用了八领域的关系来确定是否是同一个连通域,有用的朋友可以自行下载,可以用于自己的工程当中。
- 2022-01-25 20:14:52下载
- 积分:1
-
This is a program that generate a universe of chromas females and males, crosses...
This a program that generate a universe of chromas females and males, crosses men with women and makes the best chromosome of generation-This is a program that generate a universe of chromas females and males, crosses men with women and makes the best chromosome of generation
- 2022-11-11 12:50:03下载
- 积分:1
-
人工智能神经网络之感应器
该程序主要包括计算输出值、感知器学习算法(权值的调整)
- 2022-12-02 08:10:04下载
- 积分:1
-
三维数据曲线拟合方面很重要的一本书,太好了
三维数据曲线拟合方面很重要的一本书,太好了-Curve fitting of three-dimensional data are important aspects of a book
- 2022-11-06 21:00:07下载
- 积分:1
-
最长公共子序列
南邮算法实验,动态规划法求解最长公共子序列问题,也实现了备忘录方法求解最长公共子序问题。可实现输出一组解,也可以输出所有可能的最长公共子序。实现了实验要求的所有思考题
- 2023-01-07 16:40:03下载
- 积分:1
-
ASN.1编码与解码过程的一种形式化描述.rar
ASN.1编码与解码过程的一种形式化描述.rar-ASN. An encoding and decoding process of a formal description. Rar
- 2023-09-04 14:15:03下载
- 积分:1
-
科学与工程数值计算算法(Visual Basic版)
科学与工程数值计算算法(Visual Basic版)-Science and Engineering numerical calculation algorithm (Visual Basic Edition)
- 2022-12-24 18:25:04下载
- 积分:1