-
基于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
-
The first two for the artificial intelligence program, prepared with the C++, re...
前两个为人工智能程序,用C++编写,分别是动物判别程序及实现异或算法的bp程序。BLUETOOTH和F2M_BLUETOOTH是单片机和蓝牙模块通信的程序。“数字示波器”为利用单片机开发的一个简单数字示波器程序。-The first two for the artificial intelligence program, prepared with the C++, respectively, determine the procedures and implementation of animal XOR algorithm bp procedures BLUETOOTH.C and F2M_BLUETOOTH.C microcontroller and Bluetooth module is a communication process digital oscilloscope. C for the use of MCU development of a simple digital oscilloscope program.
- 2022-07-27 16:52:17下载
- 积分:1
-
基2FFT,包括一个DFT
基2FFT,包括一个DFT-2-d FFT, including a DFT program
- 2022-02-13 23:53:05下载
- 积分:1
-
vc++源代码,任意分布的随机数的产生,注意它的随机性
vc++源代码,任意分布的随机数的产生,注意它的随机性-vc source code, arbitrary distribution of the random numbers generated, the attention of its randomness
- 2023-07-20 21:55:03下载
- 积分:1
-
c + + 代码的算法
几个不同的代码在 c + +。作不同 algorithmsseveral 不同的代码在 c + +。对不同的算法,为这两个 edicare,创建程序和许多图书馆
- 2023-01-14 21:35:04下载
- 积分:1
-
用最小二乘法拟和数据,得到一条最接近所给数据的直线
用最小二乘法拟和数据,得到一条最接近所给数据的直线-least squares method to be used and the data obtained by one closest to the straight-line data
- 2022-06-03 03:34:17下载
- 积分:1
-
FIFO+LUR算法演示系统,是老师对学生进行算法教学的一个演示课件
FIFO+LUR算法演示系统,是老师对学生进行算法教学的一个演示课件-FIFO LUR algorithm demonstration system is the teacher to student teaching in an algorithm demonstration courseware
- 2022-08-17 00:23:40下载
- 积分:1
-
MTL C++数字图书馆
MTL C++ Numeric Library-MTL C Library
- 2023-01-21 11:55:04下载
- 积分:1
-
用C语言来实现的,求解线性方程组,还可以实现解向量的一个程序。...
用C语言来实现的,求解线性方程组,还可以实现解向量的一个程序。-The decomposition realizes with the C language, solution system of linear equations, but also may realize the solution vector one procedure
- 2022-02-02 11:07:43下载
- 积分:1
-
melp PC定点算法
MELP定点算法,PC机上实现,2.4kbps的低码率算法,希望对大家有用,包括了自带清浊统计 ,LPC等子函数,完整的MELP算法。算法亲测有用,希望大家采纳
- 2022-05-18 20:39:22下载
- 积分:1