首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Matlab > 基于C实现的采样复制的纹理图像修复方法_可去除遮罩物

基于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

文 件 列 表

inpainting
Debug
bestexemplarhelper.c
bestexemplarhelper.dsp
bestexemplarhelper.dsw
bestexemplarhelper.ncb
bestexemplarhelper.opt
bestexemplarhelper.plg
bungee0.png
bungee1.png
bungeeA.png
bungeeP2.png
bungeeP5.png
bw0.png
bw1.png
bw2.png
bwA.png
bwP2.png
bwP5.png
index.html
inpaint.asv
inpaint.m
isophote.png
plotall.m
README.txt
slide.html
slide.png
slide.ppt
slidesmall.png

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.229736s