-
inpainting
image inpainting
(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 Plots of confidence and data terms.
*P5.png Plots of original, fill region, inpainted images and
confidence and data terms.
Other images in the dir contain redundant information. I di)
- 2010-06-19 21:00:49下载
- 积分:1
-
SAR_RDA
SAR成像的基本算法距离多普勒算法RDA,对初学者比较有帮助(SAR imaging(range doppler algorithm))
- 2010-01-15 14:54:15下载
- 积分:1
-
789020plc_1
c语言和matlab互调 c语言和matlab互调 (c language and intermodulation c Matlab language and intermodulation c Matlab and Matlab language intermodulation c Matlab language and intermodulation)
- 2007-02-09 09:40:30下载
- 积分:1
-
OCR
Optical Character Recognition
- 2014-08-07 10:44:43下载
- 积分:1
-
PSO-ACO-TSP
采用matlab进行编程,运用粒子群算法及蚁群混合算法解决TSP问题(Using matlab programming, the use of hybrid particle swarm algorithm and ant colony algorithm to solve TSP problem)
- 2014-09-19 19:10:08下载
- 积分:1
-
simulationOfLFMRadar
对线性调频脉冲压缩雷达进行了仿真,考虑了实际目标回波包含的系统噪声和地物杂波、高频放大器设计、混频器设计、中频放大器设计、正交鉴相器设计、时域和频域脉冲压缩(脉压)、MTI、MTD及CFAR恒虚警等多个方面。(This code simulates the system of LFM pulse compression radar taking into account of system noise and clutter contained in object signal and many other aspects important in a complete radar system.)
- 2020-10-26 20:29:59下载
- 积分:1
-
BTSVM
基于孪生支持向量机的二叉树多分类 结合TSVM,依据类间距和类内距离构建二叉树的层次结构(TSVM MATLAB)
- 2021-04-08 16:59:00下载
- 积分:1
-
lmsUntitled
一个lms算法的程序源码,能直接运行的源代码。(Lms algorithm a program source code, source code can be run directly.)
- 2010-10-24 14:00:28下载
- 积分:1
-
zernikefun
由离散数据点进行曲面拟合,得到曲面方程,通过光路追迹计算波像差(Discrete data points from the surface fitting, curve equation obtained by tracing calculation of optical aberration)
- 2010-11-14 10:32:43下载
- 积分:1
-
20taodzj
说明: 20套+精华图标+等级图标+置顶图标+打包下载(20 sets+ essence+ rating icon icon icon+ package+ Top Download)
- 2011-03-09 05:08:33下载
- 积分:1