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. 基于Hash的消息认证码HMAC简介及在OpenSSL中使用举例
  2. vue树形结构html,怎么在vue中利用递归组件实现一个树形控件
  3. You should rebuild using libgmp = 5 to avoid timing attack vulnerability
  4. Elasticsearch--建议器
  5. jQuery deferred应用dom加载完毕详细源码分析(三)
  6. android中拖动文字实现功能,Android:图片中叠加文字,支持拖动改变位置
  7. 【Linux学习】pthread_create主线程与创建的新线程之间退出关系
  8. 语音识别合成助手-语音识别合成助手下载 v20190223免费版--pc6下载站
  9. 使用分治思想求解最大子序列
  10. 技术解读Rainbond ServiceMesh微服务架构_开源PaaS Rainbond
  11. 利用redis做次数限制的小结
  12. 团购网站安全性普遍堪忧
  13. NGN学习笔记6——NGN的业务提供技术
  14. 阿里云 DNS 运维服务的演进和实践
  15. JVM内存与垃圾回收篇
  16. 从零打造的机械(智能)键盘,超级喜欢,IT人最爱
  17. JavaScript基础小节——手写重点整理02
  18. 第一回 网管是个苦差事
  19. AWS 云产品和云计算基础知识详解
  20. css模糊遮罩效果_如何实现遮罩模糊样式?

热门文章

  1. 微信测试睡眠的软件,微信小睡眠小程序使用方法
  2. 设计模式回顾——模板模式(C++)
  3. 四足机器人——12自由度舵机狗DIY(二)
  4. 科学计算机感叹号,电脑网络黄三角感叹号怎么解决
  5. AMD define函数
  6. docker入门命令
  7. django_models_外键应用
  8. ipad显示已停用,连接itunes
  9. 微信公众号平台登陆-你已授权登陆过XXXX
  10. Android 播放器之流媒体,边下边播如此简单。