登录
首页 » Matlab » 图像修复Criminisi算法

图像修复Criminisi算法

于 2022-03-15 发布 文件大小:9.74 kB
0 45
下载积分: 2 下载次数: 2

代码说明:

应用背景基于样本块的纹理合成图像修复算法,经典算法Criminisi算法,能够修复灰度图像也能修复彩色图像,结合了C语言编程提高了代码的运行速度,附带测试图像,代码绝对没有问题,直接运行就可以用。关键技术 Criminisi算法的核心是一种等照度线驱动的图像采样过程。 首先,给定一幅输入图像,用户选定一个目标区域Ω,Ω将被移除并且填充。定义源区域Φ为整幅图像I减去目标区域,即Φ=I-Ω,源区域用来提供匹配块。接着,设置模板窗口的大小,默认大小为9*9,但在实际操作中需要比图像的最大纹理元稍大。一旦这些参数确定了,区域填充就可以自动进行了。在Criminisi算法中,每一个像素点都有一个颜色值(如果某处没有像素则为空)和一个置信度值。置信度反映了像素值的可信度,一旦某个像素被填充其置信度值就不能再改变。在算法进行的过程中,位于填充前沿的样本块会被赋予一个临时的优先权值。优先权决定了填充顺序。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PointInPolyResearch123
    This is a point in polygon detection algorithm
    2010-11-18 07:06:48下载
    积分:1
  • regress
    最小二乘法多元线性回归的matlab实现(Least squares linear regression of the matlab implementation)
    2011-01-06 20:43:58下载
    积分:1
  • counting
    this small file used for counting of exterima
    2011-02-09 10:09:28下载
    积分:1
  • MatlabCprogramtoghter
    说明:  精通Matlab与C++混合程序设计第2版(Matlab and C++ program toghter)
    2009-08-23 03:30:04下载
    积分:1
  • Dereverberation
    通常语音信号在增强时会出现混响现象,演讲者为了消除背景混响,不得不频繁地偏转头部的方向,这样会造成脉冲响应的不断改变。我们结合盲解卷法和频谱消去法来提高逆滤波器的滤波效果。我们利用输入语音信号间的相关系数矩阵计算出稳定、精确的室内脉冲响应的逆滤波器,而这些输入信号无需测量室内的脉冲响应就能被观测到。逆滤波能够消除早期的反射,这些反射包含混响中的绝大部分能量。之后,用频谱消去法来抑制逆滤波后的信号的尾部混响。本方法在实际适应性方面的表现通过具体的实验进行了验证,结果表明盲解卷法和频谱消去法的结合相较于单独使用一种方法,能够提供一个更优越的演说环境。(Usually voice signal will be enhanced when the reverberation phenomenon, the speaker in order to eliminate the background reverberation, and had to frequently deflect the direction of the head, this will cause the impulse response of changing. We combine the blind deconvolution and spectral elimination method to improve the filtering effect of the inverse filter. We use the correlation coefficient matrix between the input speech signal to calculate the stable, accurate inverse filter of the indoor impulse response, and these input signals do not need to measure the room impulse response can be observed. Inverse filtering to eliminate early reflections, these reflections contains most of the energy in the reverberation. After the spectrum elimination method to suppress the tail reverberation of the signal after the inverse filtering. Performance in the actual adaptation of the method by specific experimental validation results show that the blind deconvolution and spectrum to eliminate )
    2012-04-17 22:18:00下载
    积分:1
  • LDA_MatlabCode
    LDA for Matlab, Good Code! Wish you enjoy it!(LDA for Matlab, Good Code! Wish you enjoy it!)
    2007-06-12 22:48:30下载
    积分:1
  • tuzi
    采用二分法原理,利用matlab来进行狗追兔子的仿真。(Using the principle of dichotomy, which can simulate the dog chased the rabbit by matlab.)
    2014-11-24 23:43:25下载
    积分:1
  • newton_method
    基于matlab应用牛顿法解非线性方程组(the matlab Newton method for solving nonlinear equations)
    2012-09-18 21:30:03下载
    积分:1
  • Analysis-of-several-ESPRIT
    说明:  几种ESPRIT算法性能分析,源码内有详细注解(Performance Analysis of several ESPRIT)
    2011-03-16 11:19:00下载
    积分:1
  • MATLAB-Notebook
    matlab说明书,对于matlab编程工作者及其有用,是一本有用的工具书(matlab manuals for workers and their useful matlab programming is a useful tool)
    2007-09-18 00:31:12下载
    积分:1
  • 696524资源总数
  • 103791会员总数
  • 67今日下载