-
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
-
New-folder
resampling program in matlab
- 2013-09-10 19:04:01下载
- 积分:1
-
MP12_0
关于电力系统的计算程序!最新的改进法计算潮流程序!用matlab实现的!
适用于电力行业的相关从业人员!(power system on the program! The latest trend of improved procedures calculated! Using Matlab achieve! Apply to the relevant power industry practitioners!)
- 2007-01-19 17:17:05下载
- 积分:1
-
GPS_PRN
产生任意的GPS卫星信号,包括多普勒频移范围和码相位延迟(Produce any GPS satellite signals, including Doppler shift range and code phase delay)
- 2011-07-14 15:43:47下载
- 积分:1
-
sliderPanel
在matlab的ui里创建滑动组件,具有交互式文件编辑框,标签等多种功能。(Creates a slider in a separate uipanel, with an associated interactive EditBox, and left and right labels showing the minimum and maximum values of the slider, respectively.Moving the slider automatically updates the textbox, and vice versa. Both slider movement and text edits will trigger (non-recursively) the callback of the slider.)
- 2014-02-20 22:05:16下载
- 积分:1
-
MATLABsingalprocessing
学习信号处理的经典代码,使用matlab7以上版本,包含了各种滤波器的源代码(Learn the classic signal processing code, the use of more than matlab7 version contains the source code for a variety of filters)
- 2009-04-07 15:33:30下载
- 积分:1
-
movingplanewave
this code describes the moving plane wave in three dimensional volume
- 2010-10-31 01:46:46下载
- 积分:1
-
RBFcollocRO
本代码为基于matlab的求解偏微分方程的利用径向基函数的无网格方法的源码(based on the Matlab code for the solution of partial differential equations using Radial Basis Functions non-grid method FOSS)
- 2006-10-25 20:40:35下载
- 积分:1
-
KNN
一个很好的KNN算法的matlab程序,供参考(it is a good program writting with matlab under windows)
- 2013-12-03 15:58:25下载
- 积分:1
-
model_PSAT_iee30bus
psat model IEEE 30 bus system
- 2018-12-15 01:33:03下载
- 积分:1