文件名称:inpainting
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.69mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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
-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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
inpainting/
inpainting/bestexemplarhelper.c
inpainting/bungee0.png
inpainting/bungee1.png
inpainting/bungeeA.png
inpainting/bungeeP2.png
inpainting/bungeeP5.png
inpainting/bw0.png
inpainting/bw1.png
inpainting/bw2.png
inpainting/bwA.png
inpainting/bwP2.png
inpainting/bwP5.png
inpainting/index.html
inpainting/inpaint.m
inpainting/isophote.png
inpainting/plotall.m
inpainting/README.txt
inpainting/slide.html
inpainting/slide.png
inpainting/slide.ppt
inpainting/slidesmall.png
inpainting/bestexemplarhelper.c
inpainting/bungee0.png
inpainting/bungee1.png
inpainting/bungeeA.png
inpainting/bungeeP2.png
inpainting/bungeeP5.png
inpainting/bw0.png
inpainting/bw1.png
inpainting/bw2.png
inpainting/bwA.png
inpainting/bwP2.png
inpainting/bwP5.png
inpainting/index.html
inpainting/inpaint.m
inpainting/isophote.png
inpainting/plotall.m
inpainting/README.txt
inpainting/slide.html
inpainting/slide.png
inpainting/slide.ppt
inpainting/slidesmall.png
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.