-
基于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语言)-unsteady flow calculation procedures (including numerical solution of the analytical solutions and procedures FORTRAN language)
- 2022-12-08 11:05:03下载
- 积分:1
-
参加ICPC的acm队员所使用的比赛模板,包括数论图论,计算几何等相关算法。...
参加ICPC的acm队员所使用的比赛模板,包括数论图论,计算几何等相关算法。-ICPC members to participate in the acm template used in the game, including number theory graph theory, computational geometry and other related algorithms.
- 2022-01-25 15:02:22下载
- 积分:1
-
RLS和遗传算法的PID在线整定
RLS和遗传算法的PID在线整定,优化效果较好,在线整定控制PID参数
- 2022-11-02 00:10:03下载
- 积分:1
-
text retrieval
text retrieval
- 2022-08-08 13:09:18下载
- 积分:1
-
不使用欧式距离,而是采用相关性对数列进行聚类
不使用欧式距离,而是采用相关性对数列进行聚类-Do not use Euclidean distance, instead of using the related series of cluster
- 2022-06-16 18:26:19下载
- 积分:1
-
一个非常好的时钟程序,真实的
一个非常好的时钟程序,实时显示当前时间,可以指定在屏幕的任意位置,在屏幕边缘时自动放缩。-a very good clock procedures, real-time display the current time, the screen can be specified in an arbitrary position, at the edge of the screen automatically shrinking.
- 2022-10-09 17:20:03下载
- 积分:1
-
最小二乘法
最小二乘法-Least Squares
- 2022-07-18 15:02:14下载
- 积分:1
-
使用嵌入式零树小波的图像压缩算法
这是使用嵌入式零树小波的图像压缩算法。它用于在小波域中。这种算法是非常有效和有用在图像处理中。
- 2022-01-25 20:52:54下载
- 积分:1
-
order issued calculation of photonic crystal band structure, good! !
order发计算光子晶体的能带结构,比较好-order issued calculation of photonic crystal band structure, good! !
- 2022-02-07 21:48:31下载
- 积分:1