Texture-Segmentation-using-Gabor-FiltersGabor
推荐一个对Gabor特征总结很全面的文章:http://mengqi92.github.io/2015/10/11/gabor/
代码地址:https://github.com/mortezamg63/Texture-Segmentation-using-Gabor-Filters
The texture segmentation algorithm in this project involves the following three steps:
• Decomposition of the input image using a filter bank,
• Feature extraction,
• Clustering.
该项目中的纹理分割算法包括以下三个步骤:
•使用滤波器组分解输入图像,
• 特征提取,
•聚类。
1- Filter Bank
We present the channels with a bank of two-dimensional Gabor filters. A two-dimensional Gabor function consists of a sinusoidal plane wave of some frequency and orientation, modulated by a two-dimensional Gaussian [3]. The Gabor filter in the spatial domain is given by
我们使用一组二维Gabor滤波器来呈现通道。二维Gabor函数由一些频率和方向的正弦平面波组成,由二维高斯[3]调制。空间域中的Gabor滤波器由下式给出

In this equation, λ represents the wavelength of the cosine factor, θ represents the orientation of the normal to the parallel stripes of a Gabor function in degrees, ψ is the phase offset in degrees, and γ is the spatial aspect ratio and specifies the elliptically of the support of the Gabor function, and σ is the standard deviation of the Gaussian determines the (linear) size of the receptive field.
在该等式中,λ表示余弦因子的波长,θ表示以度为单位的Gabor函数的平行条纹的法线方向,ψ是以度为单位的相位偏移,γ是空间宽高比并且指定椭圆形Gabor函数的支持,σ是高斯的标准偏差决定了感受野的(线性)大小。
The parameter λ is the wavelength and f = 1/λ is the spatial frequency of the cosine factor. The ratio σ/λ determines the spatial frequency bandwidth of simple cells and thus the number of parallel excitatory and inhibitory stripe zones which can be observed in their receptive fields. The half-response spatial frequency bandwidth b (in octaves) and the ratio σ/λ are related as follows:
参数λ是波长,f = 1 /λ是余弦因子的空间频率。比率σ/λ决定了简单细胞的空间频率带宽,从而确定了在其感受野中可以观察到的平行兴奋和抑制条带区域的数量。半响应空间频率带宽b(以八度为单位)和比率σ/λ如下相关:

ψ = 0◦ and ψ = 90◦ returns the real part and the imaginary part of Gabor filter respectively. The real part of Gabor filter is an even-symmetric filter, and the property satisfies the requirement proposed by Malik [1]. Therefore, we use the real part of Gabor.
ψ= 0°和ψ= 90°分别返回Gabor滤波器的实部和虚部。Gabor滤波器的实部是偶对称滤波器,其性质满足Malik [1]提出的要求。因此,我们使用Gabor的真实部分。Choice of Filter Parameters
We use orientation separation angles of 30◦ as recommended in [4], that is:

and following values of frequencies as recommended in [6]

where , Nc is the width of image which is a power of 2. Note that and .
2- Feature Extraction
Jain [2] suggested to use a nonlinear sigmoidal function,

which saturates the output of the filters. Jain [2] also suggested to compute the average absolute deviation (AAD) for each filtered image. We use Gaussian smoothing function which is given by
它使滤波器的输出饱和。Jain [2]还建议计算每个滤波图像的平均绝对偏差(AAD)。我们使用由下式给出的高斯平滑函数

where σ is the standard deviation which determines the (linear) size of the receptive field (window size).
其中σ是确定感受野(窗口大小)的(线性)大小的标准偏差。
We choose where is the scale parameter of Gabor filter given by (2) as similar to the recommendation, , by [6]
.3- Clustering
The final step is to cluster the pixels into a number of clusters representing the texture regions. Although Jain used CLUSTER algorithm [2], we use the k-means algorithm. The algorithm of k-means is as follows:
’ 1. Initialize centroids of K-clusters randomly.’
’ 2. Assign each sample to the nearest centroid.’
’ 3. Calculate centroids (means) of K-clusters.’
’ 4. If centroids are unchanged, done. Otherwise, go to step 2.’
Furthermore, we include the spatial coordinates of the pixels as two additional features to take into account the spatial adjacency information in the clustering process as proposed by [2].
最后一步是将像素聚类成表示纹理区域的多个聚类。虽然Jain使用CLUSTER算法[2],但我们使用k-means算法。k-means的算法如下:
'1.随机初始化K-cluster的质心。
'2.将每个样本分配到最近的质心。
'3.计算K-cluster的质心(均值)。
'4.如果质心不变,那就完成了。否则,请转到步骤2。
此外,我们将像素的空间坐标作为两个附加特征包括在内,以考虑[2]中提出的聚类过程中的空间邻接信息。
4- Results
The multi-channel image segmentation system mentioned above was implemented and tested against a textured image from the Brodatz album [5]. The number of clusters is considered 5.

Also, the result is shown in another image as follow.

Bibliography
[1] Perona and Malik, ”Preattentive texture discrimination with early vision mechanisms,” J. Opt. Soc. Am. A, Vol. 7, No. 5, May 1990.
[2] A. K. Jain, F. Farrokhnia, ”Unsupervised texture segmentation using Gabor filters,” Pattern Recogni- tion, vol. 24, no. 12, pp.1167-1186, 1991.
[3] J.G. Daugman: ”Uncertainty relations for resolution in space, spatial frequency, and orientation opti- mized by two-dimensional visual cortical filters”, Journal of the Optical Society of America A, 1985, vol. 2, pp. 1160-1169.
[4] D. Clausi, M. Ed Jernigan, ”Designing Gabor filters for optimal texture separability,” Pattern Recogni- tion, vol. 33, pp. 1835-1849, 2000.
[5] P. Drodatz, ”Textures: A Photographic Album for Artists and Designers,” ”’Dover”’, New York, 1966.
[6] Jianguo Zhang, Tieniu Tan, Li Ma, ”Invariant texture segmentation via circular gabor filter”, Proceedings of the 16th IAPR International Conference on Pattern Recognition (ICPR), Vol II, pp. 901-904,2002.

Gabor滤波器进行纹理分割相关推荐

  1. OpenCV Gabor滤波器实现纹理提取与缺陷分析

    点击上方"小白学视觉",选择加"星标"或"置顶" 重磅干货,第一时间送达 一:Gabor滤波器介绍 Gabor滤波器是OpenCV中非常强大 ...

  2. 2021-08-07 Gabor滤波器简介以及简单应用

    Gabor滤波器(Gabor Filter) 文章目录 Gabor滤波器(Gabor Filter) 简介 Gabor滤波器的不同参数 Gabor滤波器的简单应用(python) 简介 Gabor滤波 ...

  3. 生物特征识别中的Gabor滤波器

    Daugman(1980)提出的2D Gabor滤波器(以下简称Gabor滤波器),在纹理分类.纹理分割.生物特征识别中取得了广泛的应用.本文首先简要介绍Gabor滤波器,然后列举它在生物特征识别方面 ...

  4. Gabor滤波器的特征提取C++实现

    自己项目中用到了Gabor滤波器,于是自己借助Opencv图像库,实现了Gabor滤波器的特征提取,用类的形式将其封装,希望对大家有用>0<. Gabor参数主要是5个尺度,8个方向,共4 ...

  5. gabor 幅值域 matlab,组合局部多通道Gabor滤波器和ICA的人脸描述与识别

    0引言人脸识别是当前人工智能和模式识别的研究热点,广泛应用于身份识别.护照识别.信用卡识别.摄像监视系统等领域.美国"911"事件后,人脸识别技术已经成为反恐的一种重要技术手段.在 ...

  6. 图像算法五:【图像小波变换】多分辨率重构、Gabor滤波器、Haar小波

    matlab设计: 与单纯运用某种自适应算法相比,基于小波分解的自适应滤波算法在收敛速度和稳定性上都有了很大的提高 小波变换: 示意:尺度越大,采用越大的时间窗,尺度越小,采用越短的时间窗,即尺度与频 ...

  7. 2017.06.27—今日总结,指纹识别图像增强提取频率、mask、gabor滤波器

    1.提取频率过程反复看了好几遍,大致过程能看懂,个别地方看不太懂:有些方面仍然需要仔细琢磨: 2. FingerprintGetMask:这个函数的作用是提取出图像中像素点周围相差异常的点,比如:如果 ...

  8. Gabor滤波器特征提取原理讲解及c++实现

    文章目录 Gabor滤波器 复正弦载波 高斯滤波 参数解释 gabor滤波核实现 效果: Gabor滤波器 1946年,Dennis Gabor于在"Theory of communicat ...

  9. Gabor滤波器学习

    本文的目的是用C实现生成Gabor模版,并对图像卷积.并简单提一下,Gabor滤波器在纹理特征提取上的应用. 一.什么是Gabor函数(以下内容含部分翻译自维基百科) 在图像处理中,Gabor函数是一 ...

最新文章

  1. 深度学习常用数据集资源(计算机视觉领域)
  2. C++中基类与派生类的构造函数和析构函数
  3. 粤桂粤黔协作签约-丰收节交易会·李喜贵:谋定一县一园产业园
  4. python删除word表格中的某一行_python docx删除word段落
  5. 递归函数斐波那契数列python_使用Python函数递归实现斐波那契数列时为什么运行速度很慢?...
  6. Vivado软件(用VerilogHDL)如何使用$readmemh和$readmemb函数
  7. mysql5.6.4m7 linux安装_mysql-5.6.4-m7installinlinux
  8. 力扣--122. 买卖股票的最佳时机 II
  9. java 调用 spring,java中使用redis和spring中调用redis
  10. 经典算法(1)- 求1到N的质数
  11. 聊聊Linux2038年问题
  12. Win11家庭版远程桌面不支持怎么办
  13. 全文干货:蓝牙耳机哪个品牌最好?平价好用的蓝牙耳机推荐
  14. 5G步入规模化商用关键期
  15. 【AD】破解WindowsServer2008R2 AD域控目录还原模式密
  16. Cobot专长:了解您的日常需求
  17. 在 UltraEdit 或 UEStudio 中执行 DOS 或 Windows 命令
  18. configure详解
  19. 举头望明月打计算机术语,呐,你们要的灯谜来了!
  20. Thinkpad 笔记本散热风扇声音大解决办法

热门文章

  1. 鲸探发布点评:8月19日发售《小窗白云与凿山骨》数字藏品
  2. 小程序 web-view 打开 微信公众号文章
  3. 登录安全----双重MD5加密实现安全登录
  4. bcd 初始化库系统卷失败_中级|软考题库每日一练|2.24
  5. 基于Python、scrapy爬取软考在线题库
  6. wpf如何实现按钮的回车事件_c# – 在WPF中模拟Enter键
  7. 检测局域网内在线IP
  8. 深入浅出实时数据库12.8日版
  9. android通知栏设置,android系统通知栏提示消息
  10. 19南大软院上岸学姐考研经验分享