-
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
-
fangzhen
赶火车过程仿真
一列火车从A站经过B站开往C站,某人每天赶往B站乘这趟火车。已知火车从A站到B站运行时间为均值30分钟、标准差为2分钟的正态随机变量.火车大约在下午1点离开A站。离开时刻的频率分布为
(Process simulation, a train to catch the train from A through B station station station bound for C, B Station tour someone rushed to the train every day. Known to the train station from station A to B as the average running time 30 minutes, standard deviation of 2 minutes of normal random variables. Trains leave about 1:00 pm A station. The frequency distribution for the leave time)
- 2011-11-25 13:39:15下载
- 积分:1
-
add_new_hypotheses
this is a subfile for motion detection
- 2010-08-05 18:47:00下载
- 积分:1
-
123
高亮显示属性表中选中的要素高亮显示属性表中选中的要素(Highlight the attribute table of the elements of selected properties in the table highlights the selected element)
- 2010-01-18 11:20:12下载
- 积分:1
-
kde-toolbox
matlab的核密度工具箱,非常实用,简单易用。(nuclear density matlab toolbox, very practical, easy to use.)
- 2013-07-29 19:02:13下载
- 积分:1
-
viterbi_hard_des
维特比硬判决译码器,用matlab-function编写的维特比译码器,译码方式为硬判决。(Hard decision Viterbi decoder)
- 2014-08-29 15:03:07下载
- 积分:1
-
offline_rec
最小二乘模型参数离线辨识,解决这类问题的优化计算,可以提高速度,节省时间(Least squares model parameters off-line identification, to resolve such issues to optimize the calculation, you can improve speed, to save time)
- 2007-09-26 10:59:39下载
- 积分:1
-
tongtaifilter
MATLAB程序实例,同台滤波器,可对逆光照片进行处理(MATLAB program example, on the same stage filter can be processed on the backlit photos)
- 2010-07-19 10:18:25下载
- 积分:1
-
glmlab
说明: 这是一个关于广义线性模型的matlab代码,里面有说明。(glmlab is a set of m-files for using MATLAB for analysing generalised linear
models. )
- 2010-04-12 20:24:12下载
- 积分:1
-
iobit_toolbox
help for matlab
- 2011-06-02 08:39:14下载
- 积分:1