-
基于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
-
Contains Clustering Mechanism. especially, Cluster Header Selection is focused.
Contains Clustering Mechanism. especially, Cluster Header Selection is focused.
- 2022-03-23 16:09:52下载
- 积分:1
-
汇编数摸静态转换
汇编数摸静态转换-Compilation of a few touch static conversion
- 2022-09-07 02:25:03下载
- 积分:1
-
采用自适应预失真算法对三种调制方式APSK、 PSK、 QAM进行性能分析
采用自适应预失真算法对三种调制方式APSK、 PSK、 QAM进行性能分析;包含系统参数设置; 16APSK信源产生模块; 16QAM信源产生模块;16PSK信号产生模块;IFFT处理模块;经过预失真器再放大; 植入噪声;解调模块模块。 另外,版本是2010,仿真时间较长,耐心等待结果
- 2022-01-22 08:26:01下载
- 积分:1
-
基于kdtree的ICP算法
k-d树 (k-dimensional树的简称),是一种分割k维数据空间的数据结构。主要应用于多维空间关键数据的搜索(如:范围搜索和最近邻搜索)。K-D树是二进制空间分割树的特殊的情况。ICP算法最初由Besl和Mckey提出,是一种基于轮廓特征的点配准方法。基准点在CT图像坐标系及世界坐标系下的坐标点集P = {Pi, i = 0,1, 2,…,k}及U = {Ui,i=0,1,2,…,n}。其中,U与P元素间不必存在一一对应关系,元素数目亦不必相同,设k ≥ n。配准过程就是求取 2 个坐标系间的旋转和平移变换矩阵,使得来自U与P的同源点间距离最小
- 2022-02-14 10:36:03下载
- 积分:1
-
龙格库塔求解微分方程数值解
龙格库塔求解微分方程数值解-Runge- Kutta numerical solution of differential equations solved
- 2022-07-24 01:44:55下载
- 积分:1
-
专家系统在数据融合中的应用
专家系统在数据融合中的应用-Expert System Data Fusion Application
- 2022-03-11 19:47:11下载
- 积分:1
-
离散傅立叶变换在视觉基本经典中的实现。
A implementation of the discrete Fourier transform in visual basic classic.
- 2022-01-27 16:59:12下载
- 积分:1
-
some commonly used recursive algorithm
一些常用的递归算法 -some commonly used recursive algorithm
- 2022-07-19 06:42:01下载
- 积分:1
-
计算X2分布函数的函数值
计算X2分布函数的函数值-calculation of the distribution function X2 function
- 2022-11-02 19:00:03下载
- 积分:1