-
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
-
boostconv
basically boost converter
- 2011-10-24 02:25:43下载
- 积分:1
-
DOA
design of DOA antenna
- 2014-11-30 23:56:59下载
- 积分:1
-
GA2
说明: 非常好的遗传算法工具,请支持下载,支持论坛发展(A very good Genetic algorithm tool, please support download, )
- 2010-03-31 18:57:54下载
- 积分:1
-
MATlAB-gauss
已知赤经赤纬计算轨道六根数,采用高斯算法(calculate orbit elements(gauss))
- 2011-07-08 09:04:11下载
- 积分:1
-
transport.pdf
Kalman filter position book
- 2014-12-19 17:59:12下载
- 积分:1
-
Two_Y_Axes_Plot_1
two y axis plot for matlab
- 2012-04-24 16:54:59下载
- 积分:1
-
hecheng
设关系A是从集合X={1,2,….,n}到集合Y={1,2,…..,m}的二元关系,而关系B是从集合Y到集合Z={1,2,….,p}的二元关系,求A与B的合成关系C。(A relationship is established from the set X = (1,2, ...., N) to the collection Y = (1,2, ... .., m) of binary relations, the relationship B is from a collection of Y to the set Z = ( 1,2, ...., p) of the binary relation, find the relationship between A and B, synthesis of C.)
- 2009-12-23 13:13:00下载
- 积分:1
-
saolei
这是一本很经典的教程!不知道有人传过没有。先传上来,希望有用(This is a very classic tutorial! Some people do not know they could not mass. Chuan-first onto the hope that useful)
- 2008-03-24 18:38:04下载
- 积分:1
-
left
matlab file for image processing
- 2009-12-06 03:30:23下载
- 积分:1