-
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
-
DividePlane
用割平面法求解整数规划。先不考虑整数约束条件,求松弛问题的最优解,如果获得整数最优解,即为所求,运算停止.如果所得到最优解不满足整数约束条件,则在此非整数解的基础上增加新的约束条件重新求解.(By cutting plane method for solving integer programming. Not considered integer constraints, the optimal solution relaxation problem, if the integer obtained optimal solution is sought, and operation stops. If the optimal solution does not satisfy the integer constraints, then on the basis of this non-integer solutions adding new constraints on the re-solving.)
- 2013-11-23 14:16:44下载
- 积分:1
-
bezier
Bezier Curve, I haven t yet opened. I got it from a friend
- 2009-05-26 03:45:26下载
- 积分:1
-
digitasignalprocessing_usingMATLAB
是Digital signal processing--using Matlab中的一些函数,那本书网上可以找到,对学习数字信号处理可以说是相当有用的。(Is the Digital signal processing- using Matlab some function, that book can be found online on the study of digital signal processing can be said to be quite useful.)
- 2008-12-19 21:12:08下载
- 积分:1
-
denoisingWavelet
Wavelet denoising
For using this code need to use signal toolbox and general toolbox in your matlab
In the first part of this assignment, we asked to obtain a (black-and-white) digital image of size
512 by 512 and then generate noisy image by adding a Gaussian noise but under the condition of
having SNR=20dB by select the suitable value of variance for Gaussian noise formula.
Second step is performing wavelet denoising using the hard thresholding (Use the db 6 for four
levels) in the condition of finding the optimal thresholding value of T in terms of the SNR obtained. It
means that, we should find the highest SNR value by finding the suitable value for threshold. Then we
asked to do the same process but this time using soft thresholding.
Finally for the last part of question one, we should compare the results of the obtained SNR
with the recommendations of 3*sigma for the hard thresholding and 3/2*sigma for the soft
thresholding.
- 2013-12-11 17:34:39下载
- 积分:1
-
matlabfunction
非常详细的matlab常用函数介绍
对matlab菜鸟来说
绝对的好(Matlab very detailed introduction to the matlab function commonly used is absolutely a good rookie)
- 2008-03-05 21:16:39下载
- 积分:1
-
FractalDim
说明: 盒维数MATLAB计算程序。%根据计盒维数原理编写了求一维曲线分形维数的matlab程序
function D=FractalDim(y,cellmax)
%求输入一维信号的计盒分形维数
%y是一维信号
%cellmax:方格子的最大边长,可以取2的偶数次幂次(1,2,4,8...),取大于数据长度的偶数
%D是y的计盒维数(一般情况下D>=1),D=lim(log(N(e))/log(k/e)),
(box dimension MATLAB program. % Under the box dimension of the principle of preparing for a peacekeeping curve fractal dimension of Matlab procedures function FractalDim D = (y, cellmax)% for the importation of one-dimensional signal box fractal dimension% y Victoria is a signal llmax : square of the largest side length, the two can take several dual Power (1, 2,4,8 ...), data from more than even the length of the% D y is the box dimension (Dgt under normal circumstances; = 1), D = lim (log (N (e))/log (k/e)) ,)
- 2020-12-22 19:59:07下载
- 积分:1
-
filterbank1
短时综合的滤波器组相加法的matlab程序的实现,使用的是先调制后滤波的方法(Synthesis filter bank to achieve short-sum method matlab program, using a filter after the first modulation method)
- 2015-03-31 10:39:02下载
- 积分:1
-
tong_tai_lv_bo_zeng_qiang
这里有高斯同态滤波,住址滤波,空域高通滤波,下早后均可直接运行(Here are Gaussian homomorphic filtering, address filtering, spatial high-pass filtering, can be run directly under the early post-)
- 2013-12-08 12:47:08下载
- 积分:1
-
Image-Enhancement
这个是一些图像增强的例子,对我们学习图像处理具有很大的帮助。(This is some examples of image enhancement, of great help for us to learn image processing.)
- 2013-05-14 17:34:02下载
- 积分:1