-
基于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
-
一阶线性回归,自动提供错误的计算和…
First order linear regression that automatically provides error calculations and graphic visualization.
- 2022-06-14 00:39:53下载
- 积分:1
-
IFS Fractali
分形 IFS 分形建筑 generationsIFS 通过生成 fuctiilor。一代人,和图像的示例包含生成的程序窗口。
- 2022-08-03 08:19:28下载
- 积分:1
-
piscaled pic
皮斯卡带领 utilizando c 段 microprocessadores pic。
皮斯卡带领 utilizando c 段 microprocessadores pic。
皮斯卡带领 utilizando c 段 microprocessadores pic。
皮斯卡带领 utilizando c 段 microprocessadores pic。
- 2022-02-06 09:27:21下载
- 积分:1
-
Win32 Assembly to write small programs, including Source Code!
-Win32 Assembly写的小程式,含 Source Code! -工程计算机,可达112 bits !--Win32 Assembly to write small programs, including Source Code!- Works the computer, up to 112 bits!
- 2023-06-10 01:35:04下载
- 积分:1
-
C程序设计中欧姆定律
C语言程序代码中的欧姆定律示例
- 2023-05-01 20:55:03下载
- 积分:1
-
如何在weka中加入自己的算法,对于增加新的算法以开发自己的数据挖掘工具。很有用...
如何在weka中加入自己的算法,对于增加新的算法以开发自己的数据挖掘工具。很有用-How to weka add their own algorithms, for adding new algorithms to develop their own data mining tools. Useful
- 2023-01-08 10:40:03下载
- 积分:1
-
电子稳像
基于灰度投影的电子稳像 opencv1.0 效果一般 需要改进 可以选择高版本的opencv库支持 达到更好的效果
- 2022-11-12 13:55:03下载
- 积分:1
-
点到线段距离,在进行画图时,在选择线时有重要作用,
点到线段距离,在进行画图时,在选择线时有重要作用,-Point to a line distance
- 2022-12-25 12:00:03下载
- 积分:1
-
Matlab routines
matlab 例程-Matlab routines
- 2022-03-01 18:56:43下载
- 积分:1