|
发布时间: 2016-10-25 |
图像处理和编码 |
|
|
收稿日期: 2016-01-08; 修回日期: 2016-05-23
基金项目: 国家自然科学基金重点项目(61136002);陕西省自然科学基金项目(2014JM8331,2014JQ5183,2014JM8307);陕西省教育厅科学研究计划资助项目(2015JK1654)
中图法分类号: TP391.41
文献标识码: A
文章编号: 1006-8961(2016)10-1316-12
|
摘要
目的 为了更有效地提高中智模糊C-均值聚类对非凸不规则数据的聚类性能和噪声污染图像的分割效果,提出了核空间中智模糊均值聚类算法。 方法 引入核函数概念。利用满足Mercer条件的非线性问题,用非线性变换把低维空间线性不可分的输入模式空间映射到一个先行可分的高维特征空间进行中智模糊聚类分割。 结果 通过对大量图像添加不同的加性和乘性噪声进行分割测试获得的核空间中智模糊聚类算法提高了现有算法的对含噪声聚类的鲁棒性和分类性能。峰值信噪比至少提高0.8 dB。 结论 本文算法具有显著的分割效果和良好的鲁棒性,并适应于医学,遥感图像处理需要。
关键词
图像分割; 模糊C-均值聚类; 中智模糊聚类; 核空间; 核函数
Abstract
Objective To improve the neutrosophic C-means clustering performance on noise image segmentation of non-convex irregular data, neutrosophic C-means clustering in kernel space is presented. Fuzzy C-means clustering algorithm is widely used in image segmentation because of its simplicity. However, the fuzzy C-means clustering algorithm directly clusters pixel value of different location, which leads to huge sample number. Fuzzy C-means clustering algorithm does not consider spatial neighborhood information of pixels, and directly uses gray value of sample to make clustering result in poor anti-noise performance. In this study, to overcome the limitations of fuzzy C-means clustering algorithm, neutrosophic C-means set is introduced into traditional fuzzy C-mean clustering algorithm. The neutrosophic C-means clustering algorithm is advantageous to effective segmentation of noisy or singular data, and its result is good for boundary segments of the sample. Method The clustering algorithm of neutrosophic fuzzy C-means using Euclidean distance is not suitable for clustering of complex structured data. Thus, use of nonlinear function data samples are mapped to high-dimensional feature space and wisdom of fuzzy C-means clustering algorithm. Kernel function concept is introduced into the neutrosophic C-means clustering algorithm. By using nonlinear problem that satisfies Mercer condition, nonlinear transformation is used to map non-separable, linear input mode space of low-dimensional space to a separable, high-dimension, linear feature space. ntroduced the concept of kernel function.By using the nonlinear problem that satisifies the Mercer condition,The nonlinear transformation is used to map the liner non separable input pattern space of the low dimensional space of the low dimensional space to a first separable high dimension feature space. Kernel Hilbert space theory is a nonlinear function of samples that are mapped to high-dimensional feature space, changing data distribution characteristics and into its neutrosophic C-means clustering algorithm. This theory is proposed in the clustering algorithm of kernel space neutrosophic C-means. Results Numerous image segmentation experiments to compare the results found in kernel space, which is obtained by neutrosophic fuzzy clustering algorithm, improve the existing algorithm for clustering with noise robustness and classification performance. Salt-and-pepper, Gaussian, mixed, and multiplicative noise tests are conducted on four kinds of C-means clustering algorithms, namely, fuzzy, kernel fuzzy, neutrosophic, and kernel neutrosophic. Then, peak signal sizes to noise ratio of the four kinds of image segmentation algorithms are compared. Conclusion With different additives and multiplicative noises added to a large amount of image segmentation test, a new algorithm division has been proven to have a significant effect and good robustness, and its validity is verified.
Key words
image segmentation; fuzzy C-mean clustering; neutrosophic C-means clustering; kernel functions; kernel spaces
0 引言
聚类算法[1-2]是模式识别[3-5]和图像分割方法[6-7]的重要分支。随着模糊理论[8]的引入,学者们提出模糊聚类算法[9]。在众多的分割方法中,模糊C-均值分割算法(FCM)[10-11]因其算法简单而广泛应用于图像分割中。但FCM算法未考虑像素的空间邻域信息,直接利用样本的灰度值进行聚类导致其抗噪性能较差。文献[12]提出鲁棒性模糊C-均值聚类分割算法(RFCM)。文献[13]提出邻域信息约束的模糊C-均值聚类分割算法,其缺点是需要计算像素与其所有邻域像素到类中心的距离且复杂性较高。文献[14]提出基于核模糊聚类的遥感影像分类(KFCM)。文献[15]提出两种改进的FCM_S算法,但未考虑邻域像素空间信息。后来,文献[16]引入了新的模糊因子并将空间信息和灰度信息相融合,提出了一种新的结合空间信息的FCM算法。Gong等人[17]将核空间引入该算法并提出邻域像素权因子,改善了该算法的抗噪性能和鲁棒性,但计算复杂度较高,不适合大幅面遥感、医学等图像的分割。
针对图像分割问题,FCM算法将不同位置像素值直接聚类,导致样本数目巨大。为此,刘建庄[18]首次提出2维直方图模糊C-均值聚类算法,具有一定的抗噪分割性能。此外,文献[19]将中智模糊集引入传统模糊C-均值聚类并提出中智模糊C-均值聚类算法(NCM)。其算法又含有隶属度中值或均值滤波处理,特别有利于含噪声或奇异数据有效分类且对样本的边界分割结果较好,但其缺陷是对非凸不规则结构数据不能奏效。引入核函数概念,利用满足Mercer条件的非线性变换把低维空间线性不可分的输入模式空间映射到一个线性可分的高维特征空间进行中智模糊聚类分割。大量灰度图像分割测试表明,本文提出核空间的中智模糊聚类分割算法满足对噪声等干扰的需要。
1 中智模糊C-均值聚类
FCM算法的目标函数描述为
$\begin{align} & \min {{J}_{m}}(U,V)=\sum\limits_{i=1}^{n}{\sum\limits_{j=1}^{c}{{{({{u}_{ij}})}^{m}}{{\left\| {{x}_{i}}-{{v}_{j}} \right\|}^{2}}}} \\ & s.t.1)0\le {{u}_{ij}}\le 1,i=1,2,\cdots ,n;j=1,2,\cdots ,c; \\ & 2)\sum\limits_{j=1}^{c}{{{u}_{ij}}=1,i=1,2,\cdots ,n;} \\ & 3)0<\sum\limits_{i=1}^{n}{{{u}_{ij}}<n},j=1,2,\cdots ,c. \\ \end{align}$ | (1) |
其数据集
该算法仅适合团状且不同类样本数相差不悬殊的数据集,否则误分率偏大;由于采用欧氏平方距离度量样本与聚类中心间的差异性,导致该算法对噪声或奇异数据缺乏鲁棒性。为此,提出中智模糊C-均值聚类,其目标函数描述为
$\begin{align} & \min {{J}_{m}}(U,I,F,V)=\sum\limits_{i=1}^{n}{\sum\limits_{j=1}^{c}{{{({{w}_{1}}{{u}_{ij}})}^{m}}}}||{{x}_{i}}-{{v}_{j}}|{{|}^{2}}+ \\ & \sum\limits_{i=1}^{n}{(}{{w}_{2}}{{I}_{i}}{{)}^{m}}||{{x}_{i}}-{{{\bar{v}}}_{i,\max }}|{{|}^{2}}+\sum\limits_{i=1}^{n}{{{\delta }^{2}}}{{({{w}_{3}}{{F}_{i}})}^{m}} \\ & s.t.1)0\le {{u}_{ij}}\le 1,1\le i\le n,1\le j\le c; \\ & 2)0<\sum\limits_{i=1}^{n}{{{u}_{ij}}}<n,1\le k\le c; \\ & 3)\sum\limits_{j=1}^{c}{{{u}_{ij}}+{{I}_{i}}+{{F}_{i}}=1},1\le i\le n. \\ \end{align}$ | (2) |
式中,Ii为样本xi属于分类边界集合的隶属度;Fi为样本xi属于奇异或噪声集合的隶属度;w1是模糊C-均值聚类的加权因子;w2是边界区域函数加权因子;w3是噪声部分加权因子。
NCM相比FCM考虑样本属于两类边界集及其隶属度信息,对边界问题进行有效分类。
2 核空间中智模糊聚类方法
利用希尔伯特再生核空间理论引入NCM算法,提出核空间中智模糊聚类算法,可提高具有抗噪性的NCM算法对非凸不规则数据聚类的分类能力。
若输入空间的样本集
$K(x,y)=\exp (-\frac{||x-y|{{|}^{2}}}{2{{\sigma }^{2}}})$ |
σ为尺度参数。样本间距离标准差确定σ为
$\sigma ={{(\frac{1}{N-1}\sum\limits_{i=1}^{N}{{{({{d}_{i}}-\overline{d})}^{2}}})}^{\frac{1}{2}}}$ | (3) |
式中,
将数据集映射到高维核空间进行NCM算法并提出核空间中智模糊聚类算法,其最优化问题描述
$\begin{align} & J(U,I,F,V)=\sum\limits_{i=1}^{n}{\sum\limits_{j=1}^{c}{{{({{w}_{1}}{{u}_{ij}})}^{m}}}}||\phi ({{x}_{i}})-\phi ({{v}_{j}})|{{|}^{2}}+ \\ & \sum\limits_{i=1}^{c}{{{\left( {{w}_{2}}{{I}_{i}} \right)}^{m}}}{{\left\| \phi ({{x}_{i}})-\phi ({{{\bar{v}}}_{i,\max }}) \right\|}^{2}}+\sum\limits_{i=1}^{n}{{{\delta }^{2}}}{{({{w}_{3}}{{F}_{i}})}^{m}} \\ & s.t.1)0\le {{u}_{ij}}\le 1,1\le i\le n,1\le j\le c; \\ & 2)0<\sum\limits_{i=1}^{n}{{{u}_{ij}}}<n,1\le k\le c; \\ & 3)\sum\limits_{j=1}^{c}{{{u}_{ij}}+{{I}_{i}}+{{F}_{i}}=1},1\le i\le n \\ & ||\phi ({{x}_{i}})-\phi ({{v}_{j}})|{{|}^{2}}=K({{x}_{i}},{{x}_{i}})-2K({{x}_{i}},{{v}_{j}})+K({{v}_{j}},{{v}_{j}})= \\ & 2-2\exp \left( -{{\sigma }^{-2}}\cdot ||{{x}_{i}}-{{v}_{j}}|{{|}^{2}} \right). \\ \end{align}$ | (4) |
采用拉格朗日乘子法迭代求解得
${{u}_{ij}}={{K}_{1}}{{(\frac{1}{{{w}_{1}}})}^{\frac{m}{m-1}}}{{[2-2\exp (-\frac{||{{x}_{i}}-{{v}_{j}}|{{|}^{2}}}{2{{\sigma }^{2}}})]}^{-\frac{1}{m-1}}}$ | (5) |
${{I}_{i}}=2{{K}_{1}}{{(\frac{1}{{{w}_{2}}})}^{\frac{m}{m-1}}}{{[1-\exp ({{\frac{-||{{x}_{i}}-{{{\bar{v}}}_{i,max}}||}{2{{\sigma }^{2}}}}^{2}})]}^{^{\frac{-1}{m-1}}}}$ | (6) |
${{F}_{i}}={{K}_{1}}\cdot {{(\frac{1}{{{w}_{3}}})}^{\frac{m}{m-1}}}\cdot {{\delta }^{-\frac{2}{m-1}}}$ | (7) |
${{v}_{j}}=\sum\limits_{i=1}^{n}{u_{ij}^{m}K({{x}_{i}},{{v}_{j}}){{x}_{i}}}/\sum\limits_{i=1}^{n}{u_{ij}^{m}}K({{x}_{i}},{{v}_{j}})$ | (8) |
令
$\begin{align} & {{K}_{1}}=\{{{(\frac{1}{{{w}_{1}}})}^{\frac{m}{m-1}}}{{[2-2\exp (-\frac{||{{x}_{i}}-{{v}_{j}}|{{|}^{2}}}{2{{\sigma }^{2}}})]}^{^{-\frac{1}{m-1}}}}+ \\ & {{(\frac{1}{{{w}_{2}}})}^{\frac{m}{m-1}}}{{[2-2\exp (-\frac{||{{x}_{i}}-{{{\bar{v}}}_{i,max}}|{{|}^{2}}}{2{{\sigma }^{2}}})]}^{^{-\frac{1}{m-1}}}}+ \\ & {{(\frac{1}{{{w}_{3}}})}^{\frac{m}{m-1}}}\cdot {{\delta }^{-\frac{2}{m-1}}}{{\}}^{-1}} \\ \end{align}$ | (9) |
下面对核空间中智模糊聚类的讨论:
1) 若式(4) 中参数w2=0且w3=0时,则核空间中智模糊聚类退化为核空间模糊C-均值聚类算法;
2) 若式(4) 中参数w2=0时,该核空间中智模糊聚类文献[12]所对应的核空间鲁棒模糊聚类算法。
因此,本文算法是鲁棒模糊聚类算法和高性模糊聚类算法的融合推广,对复杂形状且含奇异点数据的聚类有较大应用价值。
3 核空间中智模糊聚类收敛分析
为证明该迭代算法满足收敛性条件,本文利用Zangwill定理[20]证明本文迭代算法满足收敛性条件。其定理是建立迭代算法收敛性定理的一个有效工具。设V是距离空间,点
1) 所有的点z(k)都属于V中的一个紧子集。
2) 存在连续函数
3) 若
若本文迭代算法是收敛的,那么应满足Zangwill定理的3个条件。其中,第1个条件:
给定聚类中心V的条件下,拉格朗日函数为
$\begin{align} & L(U,I,F,\lambda )=\sum\limits_{i=1}^{n}{\sum\limits_{j=1}^{c}{{{({{w}_{1}}{{u}_{ij}})}^{m}}}}||\phi ({{x}_{i}})-\phi ({{v}_{j}})|{{|}^{2}}+ \\ & \sum\limits_{i=1}^{c}{{{\left( {{w}_{2}}{{I}_{i}} \right)}^{m}}}||\phi ({{x}_{i}})-\phi ({{{\bar{v}}}_{i,\max }})|{{|}^{2}}+ \\ & \sum\limits_{i=1}^{n}{{{\delta }^{2}}}{{({{w}_{3}}{{F}_{i}})}^{m}}+\sum\limits_{i=1}^{n}{{{\lambda }_{i}}}(\sum\limits_{j=1}^{c}{{{u}_{ij}}+{{I}_{i}}}+{{F}_{i}}-1) \\ \end{align}$ | (10) |
如果(U*,I*,F*,λ*)是L的极小点,则有
$\begin{align} & \frac{\partial L({{U}^{*}},{{I}^{*}},{{F}^{*}},{{\lambda }^{*}})}{\partial {{u}_{ij}}}=0,\frac{\partial L({{U}^{*}},{{I}^{*}},{{F}^{*}},{{\lambda }^{*}})}{\partial {{I}_{i}}}=0 \\ & \frac{\partial L({{U}^{*}},{{I}^{*}},{{F}^{*}},{{\lambda }^{*}})}{\partial {{\lambda }_{i}}}=0,\frac{\partial L({{U}^{*}},{{I}^{*}},{{F}^{*}},{{\lambda }^{*}})}{\partial {{F}_{i}}}=0 \\ & u_{ij}^{*}={{K}_{1}}{{(\frac{1}{{{w}_{1}}})}^{\frac{m}{m-1}}}{{[2-2\exp (-\frac{||{{x}_{i}}-{{v}_{j}}|{{|}^{2}}}{2{{\sigma }^{2}}})]}^{-\frac{1}{m-1}}} \\ \end{align}$ | (11) |
$I_{i}^{*}=2{{K}_{1}}{{(\frac{1}{{{w}_{2}}})}^{\frac{m}{m-1}}}{{[1-\exp ({{\frac{-||{{x}_{i}}-{{{\bar{v}}}_{i,\text{max}}}||}{2{{\sigma }^{2}}}}^{2}})]}^{^{\frac{-1}{m-1}}}}$ | (12) |
$F_{i}^{*}={{K}_{1}}\cdot {{(\frac{1}{{{w}_{3}}})}^{\frac{m}{m-1}}}\cdot {{\delta }^{-\frac{2}{m-1}}}$ | (13) |
$\begin{align} & {{K}_{1}}=\{{{(\frac{1}{{{w}_{1}}})}^{\frac{m}{m-1}}}{{[2-2\exp (-\frac{||{{x}_{i}}-{{v}_{j}}|{{|}^{2}}}{2{{\sigma }^{2}}})]}^{^{-\frac{1}{m-1}}}}+ \\ & {{(\frac{1}{{{w}_{2}}})}^{\frac{m}{m-1}}}{{[2-2\exp (-\frac{||{{x}_{i}}-{{{\bar{v}}}_{i,\text{max}}}|{{|}^{2}}}{2{{\sigma }^{2}}})]}^{^{-\frac{1}{m-1}}}}+ \\ & {{(\frac{1}{{{w}_{3}}})}^{\frac{m}{m-1}}}\cdot {{\delta }^{-\frac{2}{m-1}}}{{\}}^{-1}} \\ \end{align}$ | (14) |
因此,(U*,I*,F*,λ*)满足其必要条件。
为了证明充分性需要考虑在U=U*、I=I*和F=F*处函数L的大小为nc×nc的Hessian矩阵。
$\eqalign{ & {\partial \over {\partial {u_{ab}}}}\left( {{{\partial L({U^*},{I^*},{F^*},{\lambda ^*})} \over {\partial {u_{ij}}}}} \right) = \cr & \left\{ {\matrix{ 0 \hfill & {a \ne i{\rm{或}}b \ne j} \hfill \cr \matrix{ 2w_1^2m(m - 1){({w_1}u_{ij}^*)^{m - 2}} \times \hfill \cr \left[ {1 - K({x_i},{v_j})} \right] \hfill \cr} \hfill & {a = i{\rm{且}}b = j} \hfill \cr } } \right. \cr} $ | (15) |
$\eqalign{ & {\partial \over {\partial {I_k}}}\left( {{{\partial L({U^*},{I^*},{F^*},{\lambda ^*})} \over {\partial {I_i}}}} \right) = \cr & \left\{ {\matrix{ 0 \hfill & {k \ne i} \hfill \cr \matrix{ 2w_2^2m(m - 1){({w_2}I_i^*)^{m - 2}} \times \hfill \cr [1 - K({x_i},{{\bar v}_{i,\max }})] \hfill \cr} \hfill & {k = i} \hfill \cr } } \right. \cr} $ | (16) |
$\begin{align} & \frac{\partial }{\partial {{F}_{k}}}\left( \frac{\partial L({{U}^{*}},{{I}^{*}},{{F}^{*}},{{\lambda }^{*}})}{\partial {{F}_{i}}} \right)= \\ & \left\{ \begin{array}{*{35}{l}} 0 & k\ne i \\ {{\delta }^{2}}m(m-1)w_{3}^{2}{{({{w}_{3}}F_{i}^{*})}^{m-2}} & k=i \\ \end{array} \right. \\ \end{align}$ | (17) |
因此,上述3个海森矩阵是对角线元素大于0且非对角线元素为0的对称正定矩阵。于是U*、I*、F*分别是L的严格局部极小点。
给定聚类模糊划分
$\begin{align} & L(V)=\sum\limits_{i=1}^{n}{\sum\limits_{j=1}^{c}{{{({{w}_{1}}{{u}_{ij}})}^{m}}}}||\phi ({{x}_{i}})-\phi ({{v}_{j}})|{{|}^{2}}+ \\ & \sum\limits_{i=1}^{c}{{{\left( {{w}_{2}}{{I}_{i}} \right)}^{m}}}||\phi ({{x}_{i}})-\phi ({{{\bar{v}}}_{i,\max }})|{{|}^{2}}+\sum\limits_{i=1}^{n}{{{\delta }^{2}}}{{({{w}_{3}}{{F}_{i}})}^{m}} \\ \end{align}$ | (18) |
若V*是L的极小点,则有
$v_{j}^{*}=\frac{\sum\limits_{i=1}^{n}{\sum\limits_{j=1}^{c}{{{({{u}_{ij}})}^{m}}[{{x}_{i}}\exp (\frac{-||{{x}_{i}}-v_{j}^{*}|{{|}^{2}}}{2{{\sigma }^{2}}})]}}}{\sum\limits_{i=1}^{n}{\sum\limits_{j=1}^{c}{{{({{u}_{ij}})}^{m}}[\exp (\frac{-||{{x}_{i}}-v_{j}^{*}|{{|}^{2}}}{2{{\sigma }^{2}}})]}}}$ | (19) |
V*满足必要条件。但实际迭代计算使用了聚类中心V的局部邻域
$v_{j}^{*}=\frac{\sum\limits_{i=1}^{n}{{{({{u}_{ij}})}^{m}}{{x}_{i}}\exp (-\frac{||{{x}_{i}}-v_{j}^{+}|{{|}^{2}}}{2{{\sigma }^{2}}})}}{\sum\limits_{i=1}^{n}{{{({{u}_{ij}})}^{m}}\exp (-\frac{||{{x}_{i}}-v_{j}^{+}|{{|}^{2}}}{2{{\sigma }^{2}}})}}$ | (20) |
于是
为了证明充分性,需要考虑在V=V*处函数L的大小为c×c的Hessian矩阵为
$\frac{\partial }{\partial {{v}_{l}}}\left( \frac{\partial L({{V}^{*}})}{\partial {{v}_{j}}} \right)=\left\{ \begin{align} & 0~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~l\ne j \\ & 2\sum\limits_{i=1}^{n}{{{({{w}_{1}}{{u}_{ij}})}^{m}}K({{x}_{i}},v_{j}^{+})~~~~~~l=j} \\ \end{align} \right.$ | (21) |
该海森矩阵显然是正定的。因此,V*是L的严格局部极小点。综上所述,本文算法是收敛的。
4 核空间中智模糊聚类图像分割算法
将上述本文算法应用于灰度图像分割,若图像大小为M×N,任意位置(x,y)处像素值为g(x,y)(0≤g(x,y)≤255)。对其像素进行本文算法实现图像分割所对应算法时间复杂度为O(MNc)。不同位置像素值直接聚类分割耗时。为此,本文提出核空间中智模糊聚类分割算法。。
若大小为M×N的灰度图像G,其不同像素值的1维灰度直方图为h(l)(l=0,1,…,L-1)(L为不同灰度级总数),核空间中智模糊聚类分割算法步骤如下:
1) 大小M×N的灰度图像G,其1维直方图为
2) 本文算法分割图像区域数c,采用爬山法选取初始化聚类中心vj(0)(j=1,2,…,c),设置算法迭代收敛控制误差项e=0.000 1,迭代次数t=0。
3) 根据灰度图像的统计信息确定核空间中智模糊聚类中核函数参数
$\sigma _{2}^{2}=\beta \cdot \sum\limits_{l=0}^{L-1}{h(l){{\left( |l-\bar{G}|-{{\delta }_{G}} \right)}^{2}}},\beta >0$ |
其中,
4) 根据vj(t)(j=1,2,…,c),采用FCM算法所对应的隶属度和聚类中心表达式
$u_{lj}^{(t)}=\frac{1}{{{\sum\limits_{k=1}^{c}{\left( \frac{||l-v_{j}^{(t)}|{{|}^{2}}}{||l-v_{k}^{(t)}|{{|}^{2}}} \right)}}^{\frac{1}{m-1}}}\ }$ | (22) |
$v_{j}^{(t+1)}=\frac{\sum\limits_{l=0}^{L-1}{h(l)(u_{li}^{(t)}}{{)}^{m}}l}{\sum\limits_{l=0}^{L-1}{h(l)(u_{li}^{(t)}}{{)}^{m}}}$ | (23) |
t=t+1直至迭代满足
5) 根据本文算法首先计算
$\begin{align} & K_{1}^{(t)}(l,j)=\{{{(\frac{1}{{{w}_{1}}})}^{\frac{m}{m-1}}}{{[2-2\exp (-\frac{||l-v_{j}^{(t)}|{{|}^{2}}}{2{{\sigma }^{2}}})]}^{^{-\frac{1}{m-1}}}}+ \\ & {{(\frac{1}{{{w}_{2}}})}^{\frac{m}{m-1}}}{{[2-2\exp (-\frac{||l-\bar{v}_{i,\max }^{(t)}|{{|}^{2}}}{2{{\sigma }^{2}}})]}^{^{-\frac{1}{m-1}}}}+ \\ & {{(\frac{1}{{{w}_{3}}})}^{\frac{m}{m-1}}}\cdot {{\delta }^{-\frac{2}{m-1}}}{{\}}^{-1}} \\ \end{align}$ | (24) |
其次,计算3个隶属度为
$u_{lj}^{(t)}=2K_{1}^{(t)}(l,j){{(\frac{1}{{{w}_{1}}})}^{\frac{m}{m-1}}}[1-K(l,v_{j}^{(t)})){{]}^{-\frac{1}{m-1}}}$ | (25) |
$I_{l}^{(t)}=2K_{1}^{(t)}(l,j){{(\frac{1}{{{w}_{2}}})}^{\frac{m}{m-1}}}[1-K(l,\bar{v}_{l,\max }^{(t)})){{]}^{^{-\frac{1}{m-1}}}}$ | (26) |
$F_{l}^{(t)}=K_{1}^{(t)}(l,j)\cdot {{(\frac{1}{{{w}_{3}}})}^{\frac{m}{m-1}}}\cdot {{\delta }^{-\frac{2}{m-1}}}$ | (27) |
6) 本文算法所对应的聚类中心为
$v_{j}^{(t+1)}=\frac{\sum\limits_{l=0}^{L-1}{h(l)(u_{lj}^{(t)}}{{)}^{m}}K(l,v_{j}^{(t)})l}{\sum\limits_{l=0}^{L-1}{h(l)(u_{lj}^{(t)}}{{)}^{m}}K(l,v_{j}^{(t)})}$ | (28) |
7) 迭代次数增1,即t=t+1。若满足
8) 根据本文算法所对应的灰度级聚类隶属度ulj再转化为图像平面所对应的隶属度张量为U*=(ux,y,j*)M×N×C其中,ux,y,j*=ug(x,y),j再对其隶属度进行均值(或中值)滤波处理为Ur=(ux,y,jr)M×N×C,以便进一步改善该聚类分割算法的抗噪性。其中,
9) 利用ux,y,jr按照最大隶属度原则进行像素值分类
10) 输出分割图像G′为G′={g′x,y}其中
5 实验结果及分析
为验证本文图像分割算法的有效性,文中对大量图像采用FCM、KFCM、NCM和本文算法进行图像分割测试并比较不同类型噪声干扰图像进行分割所具有的抗噪能力。
采用峰值信噪比(PSNR)进行噪声强弱质量的评价依据。PSNR常刻画不同图像间质量好坏的重要依据,影响图像质量的因素如噪声、边缘模糊等,将其作为去噪、压缩等性能评价指标。本文首次将其用于评价图像分割算法的抗噪性能。其表达式为
$PSNR=10\times {{\log }_{10}}(\frac{MAX_{I}^{2}}{MSE})=20\times {{\log }_{10}}(\frac{MA{{X}_{I}}}{\sqrt{MSE}})$ |
式中,MAX通常表示图像的最大灰度级,一般为255。
从图 2所示看出,直方图 1中的背景与目标子直方图呈正态分布且存在一定交叉,背景所占图像比例大于目标所占比例。直方图 2中的背景与目标子直方图交叉非常严重且并非正态分布。直方图 3中背景、目标1和目标2各自子方图呈正态分布,三者间交叉较为严重。这3类典型图像利用FCM、KFCM分割误分率较高且抗噪能力差,存在明显属于背景的像素错分为目标信息,导致目标提取错误。于是利用NCM一定程度地降低分割结果中的噪声,但目标提取仍难以不令人满意。为此,利用本文算法对噪声干扰图像分割,有效地抑制噪声且分割结果的误分率相对较低。
实验测试包括3部分,第1部分是未加噪声干扰图像的分割测试与分析;第2部分是分割算法隶属度都未进行滤波处理的噪声干扰图像分割测试与分析;第3部分是分割算法隶属度都进行滤波处理的噪声干扰图像分割测试与分析,以便全面、准确地评价不同算法的抗噪鲁棒性。
5.1 无噪声干扰图像的分割测试
5.2 聚类隶属度未处理的噪声干扰图像分割
利用FCM、KFCM、NCM和本文算法对噪声干扰图像灰度级进行聚类,所得隶属度不经滤波处理而直接按照最大隶属度分类准则实现图像分割,其中测试了不同类型噪声干扰的灰度图像。
5.2.1 椒盐噪声干扰测试
将CT图分别添加强度为25%、30%和35%的椒盐噪声进行分割测试,结果如图 4和表 1所示。
表 1
椒盐噪声干扰CT图分割结果PSNR指标
Table 1
Salt and pepper noise interference CT image segmentation results of PSNR index
/dB | ||||
噪声强度/% | FCM算法 | KCM算法 | NCM算法 | 本文算法 |
25 | 10.775 2 | 11.289 6 | 13.624 1 | 14.001 9 |
30 | 9.110 5 | 9.336 4 | 10.450 9 | 12.552 1 |
35 | 8.127 6 | 8.993 6 | 9.141 2 | 10.115 4 |
从图 4所示FCM、KFCM、NCM和本文算法的抗噪能力逐步递增,本文算法所获得的目标最为准确且误分现象最少。从表 1所示的峰值信噪比值来看,FCM、KFCM、NCM和本文算法所得峰值信噪比值逐渐增大。表明本文算法相比其他4种算法更适合椒盐噪声干扰图像分割的需要。
5.2.2 高斯噪声干扰图像的分割测试
将汉字图添加均方差为(0,56) 、(0,78) 和(25,78) 高斯噪声进行分割测试,其结果如图 5和表 2所示。
表 2
高斯噪声干扰汉字图分割结果PSNR指标
Table 2
Gaussion noise interference chinese image segmentation results of PSNR index
/dB | ||||
高斯噪声 | FCM算法 | KFCM算法 | NCM算法 | 本文算法 |
(0,56) | 14.773 9 | 15.326 1 | 16.8238 | 18.009 2 |
(0,78) | 11.278 3 | 12.254 1 | 14.775 9 | 16.355 1 |
(25,78) | 10.778 | 11.740 1 | 13.215 7 | 15.221 3 |
从图 5所示的分割结果来看,FCM、KFCM、NCM和本文算法所获得分割结果中噪声逐步减少,本文算法获得的目标最为准确且误分现象最少,表明本文建议的算法是有效的。从表 2所示的高斯噪声干扰图像分割结果与未加噪声图像分割结果之间的峰值信噪比值来看,FCM算法、KFCM算法、NCM算法和本文算法所得峰值信噪比值也逐步增大。测试结果表明本文算法相比FCM、KFCM和NCM更适合高斯噪声干扰图像分割的需要。
5.2.3 混合噪声干扰测试
为测试不同算法抗噪声的能力,将block图添加高斯噪声(其均值为0且均方差为68) 和不同强度椒盐噪声(其噪声强度分别10%、20%和25%)所得图像进行分割测试,所得结果如图 6和表 3所示。
表 3
混合噪声干扰block图分割结果PSNR指标
Table 3
Mixed noise interference block image segmentation results of PSNR index
/dB | ||||
混合噪声 | FCM算法 | KFCM算法 | NCM算法 | 本文算法 |
(0,56)+10% | 10.653 3 | 11.773 5 | 12.688 3 | 14.957 3 |
(0,78)+20% | 9.667 4 | 10.891 5 | 10.775 9 | 13.663 7 |
(25,78)+25% | 8.775 2 | 9.325 6 | 10.689 1 | 12.003 7 |
将遥感图像添加高斯噪声(均值为0均方差44) 和椒盐噪声(其噪声强度10%、20%和30%)所得图像进行分割测试,所得结果如图 7和表 4所示。
表 4
混合噪声干扰遥感图分割结果PSNR指标
Table 4
Mixed noise interference remote sensing image segmentation results of PSNR index
/dB | ||||
混合噪声 | FCM算法 | KFCM算法 | NCM算法 | 本文算法 |
(0,44)+10% | 7.998 4 | 8.102 3 | 8.580 1 | 8.945 1 |
(0,44)+20% | 6.408 1 | 6.791 3 | 8.001 2 | 8.274 6 |
(0,44)+30% | 6.00 45 | 6.121 8 | 7.454 6 | 7.676 1 |
从表 4所示的高斯噪声干扰图像分割结果与未加噪声图像分割结果之间的峰值信噪比值来看,FCM算法、KFCM算法、NCM算法和本文算法所得峰值信噪比值也逐步增大。测试结果表明本文算法相比FCM、KFCM和NCM更适合高斯和椒盐混合噪声干扰图像分割的需要。
从图 7所示的分割结果来看,FCM、KFCM、NCM和本文算法所获得分割结果中噪声逐步减少,特别是本文算法获得的目标最为准确且误分现象最少,表明本文建议的算法是有效的。
5.3 聚类隶属度滤波处理的图像分割测试
鉴于文献[18]提出的NCM算法对其聚类隶属度加入了中值或均值滤波,本文将对FCM算法、KFCM算法、NCM算法和本文算法均对噪声干扰图像聚类所得隶属度先滤波再按最大隶属度准则实现图像分割。
5.3.1 椒盐噪声干扰测试
将脑组织切片图和舰船图添加强度分别为30%、40%和50%的椒盐噪声所得图像进行分割测试,其结果如图 8和表 5所示
表 5
椒盐噪声干扰怀表图分割结果PSNR指标
Table 5
Salt and pepper noise interference watch image segmentation results of PSNR index
/dB | ||||
椒盐噪声/% | FCM算法 | KFCM算法 | NCM算法 | 本文算法 |
30 | 5.933 1 | 7.289 6 | 6.624 1 | 9.069 1 |
40 | 5.310 5 | 6.693 7 | 6.050 9 | 8.452 1 |
50 | 4.827 6 | 6.207 3 | 5.661 2 | 8.015 4 |
综合表 5所示的分割图像噪声强弱性能评价指标来看,FCM、FCM、NCM和本文算法的PSNR比值呈递增趋势,表明本文算法具有良好的抗椒盐噪声能力。从图 8所示的分割结果来看,FCM算法、KFCM算法和NCM算法未能将目标从背景中完整提取且分割结果仍含有大量噪声。本文算法可获得清晰目标,甚至目标边缘轮廓完整。
5.3.2 高斯噪声干扰分割测试
为了测试不同算法抗高斯噪声干扰的能力,将大脑图和女孩图添加不同高斯噪声(均值和均方差(0,50) 、(0,75) 和(25,80) )进行分割测试,结果如表 6和图 9所示。
表 6
高斯噪声干扰block图分割结果PSNR指标
Table 6
Gaussion noise interference brain image segmentation results of PSNR index
/dB | ||||
高斯噪声 | FCM算法 | KFCM算法 | NCM算法 | 本文算法 |
(0,50) | 11.007 1 | 11.813 6 | 12.573 6 | 13.001 5 |
(0,75) | 10.378 3 | 11.154 1 | 11.769 6 | 12.355 1 |
(0,80) | 9.882 9 | 10.522 7 | 11.006 3 | 11.663 9 |
5.3.3 混合噪声干扰测试
将CT切片图添加高斯噪声(均值为0且均方差为50)和不同强度椒盐噪声(噪声强度分别10%、20%和25%)所得图像进行分割测试,其结果如表 7和图 8所示。
表 7
混合噪声干扰遥感图分割结果PSNR指标
Table 7
Mixed noise interference CT image segmentation results of PSNR index
/dB | ||||
混合噪声 | FCM算法 | KFCM算法 | NCM算法 | 本文算法 |
(0,50)+10% | 6.966 8 | 7.772 1 | 8.009 5 | 9.366 5 |
(0,50)+20% | 6.146 2 | 6.996 8 | 7.772 5 | 8.889 1 |
(0,50)+30% | 5.665 3 | 6.425 4 | 7.172 5 | 8.357 9 |
从表 7所示的分割结果含噪声强弱所对应峰值信噪比值来看,本文算法分割结果评价最好,表明本文算法在抑制高斯和椒盐混合噪声能力相对更强。从图 10所示的CT图分割结果来看,4种分割算法均可准确提出病变组织,但本文算法提出目标所含噪声最少。
5.3.4 乘性噪声干扰测试
将齿轮图添加均值0方差为50、68和80均匀分布乘性噪声进行分割测试,其结果如表 8和图 11所示。
表 8
乘性噪声干扰齿轮图分割结果PSNR指标
Table 8
Multiplicative noise interference gear segmentation results of PSNR index
/dB | ||||
乘性噪声 | FCM算法 | KFCM算法 | NCM算法 | 本文算法 |
(0,50) | 16.552 3 | 17.369 2 | 18.452 3 | 19.248 0 |
(0,62) | 16.001 3 | 16.982 3 | 17.963 3 | 18.722 3 |
(0,75) | 15.675 6 | 16.423 9 | 17.220 6 | 18.009 8 |
从表 8所示的分割结果评价指标值来看,FCM、KFCM、NCM到本文算法所对应的性能指标值呈递增趋势,表明本文算法具有良好的抗乘性噪声能力。从如图 11所示的分割结果来看,4种算法都无法完整检测出齿轮目标,但本文算法检测目标轮廓相对较多,而目标所含噪声相对较少,这表明本文算法在获取目标轮廓方面表现出良好的性能。
6 结论
针对现有中智模糊聚类方法,利用再生希尔伯特核函数将其修改并获得核空间中智模糊聚类算法。通过对无噪声干扰图像,以及不同类型和强度的噪声干扰图像分割测试和比较,本文算法相比FCM、KFCM具有良好的抗噪鲁棒性。在今后的工作中,将邻域信息加入到核空间中智模糊聚类算法进行图像处理。
参考文献
-
[1] Xu R, Wunsch D. Survey of clustering algorithms[J]. IEEE Transactions on Neural Networks , 2005, 16 (3) : 645–678. DOI:10.1109/TNN.2005.845141]
-
[2] Jiang D X, Tang C, Zhang A D. Cluster analysis for gene expression data: a survey[J]. IEEE Transactions on Knowledge and Data Engineering , 2004, 16 (11) : 1370–1386. DOI:10.1109/TKDE.2004.68]
-
[3] Alimoradi A, Pezeshk S, Naeim F, et al. Fuzzy pattern classification of strong ground motion records[J]. Journal of Earthquake Engineering , 2005, 9 (3) : 307–332. DOI:10.1080/13632460509350544]
-
[4] Thilagamani S, Shanthi N. A novel recursive clustering algorithm for image oversegmentation[J]. European Journal of Scientific Research , 2011, 52 (3) : 430–436.
-
[5] Acharjya P P, Sinha A, Sarkar S, et al. A new approach of watershed algorithm using distance transform applied to image segmentation[J]. International Journal of Innovative Research in Computer and Communication Engineering , 2013, 1 (2) : 185–189.
-
[6] Shridhar M, Sethi A S, Ahmadi M. Image segmentation: a comparative study[J]. Canadian Electrical Engineering Journal , 1986, 11 (4) : 172–183. DOI:10.1109/CEEJ.1986.6591942]
-
[7] Kandwal R, Kumar A, Bhargava S. Review: existing image segmentation techniques[J]. International Journal of Advanced Research in Computer Science and Software Engineering , 2014, 4 (4) : 153–156.
-
[8] Ma M, Liang J H, Guo M, et al. SAR image segmentation based on artificial bee colony algorithm[J]. Applied Soft Computing , 2011, 11 (8) : 5205–5214. DOI:10.1016/j.asoc.2011.05.039]
-
[9] Bora D J, Gupta D A K. A comparative study between fuzzy clustering algorithm and hard clustering algorithm[J]. International Journal of Computer Trends and Technology , 2014, 10 (2) : 108–113. DOI:10.14445/22312803/IJCTT-V10P119]
-
[10] Ceccarelli M, Maratea A. Improving fuzzy clustering of biological data by metric learning with side information[J]. International Journal of Approximate Reasoning , 2008, 47 (1) : 45–57. DOI:10.1016/j.ijar.2007.03.008]
-
[11] Tsai D M, Lin C C. Fuzzy C-means based clustering for linearly and Nonlinearly separable data[J]. Pattern Recognition , 2011, 44 (8) : 1750–1760. DOI:10.1016/j.patcog.2011.02.009]
-
[12] Dave R N. Robust fuzzy clustering algorithms[C]//Proceedings of the Second IEEE International Conference on Fuzzy Systems. San Francisco, CA: IEEE, 1993, 2: 1281-1286.[DOI: 10.1109/FUZZY.1993.327577]
-
[13] Ahmed M N, Yamany S M, Mohamed N, et al. A modified fuzzy C-means algorithm for bias field estimation and segmentation of MRI data[J]. IEEE Transactions on Medical Imaging , 2002, 21 (3) : 193–199. DOI:10.1109/42.996338]
-
[14] Zhang D Q, Chen S C. Clustering incomplete data using kernel-based fuzzy c-means algorithm[J]. Neural Processing Letters , 2003, 18 (3) : 155–162. DOI:10.1023/B:NEPL.0000011135.19145.1b]
-
[15] Chen S C, Zhang D Q. Robust image segmentation using FCM with spatial constraints based on new kernel-induced distance measure[J]. IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics) , 2004, 34 (4) : 1907–1916. DOI:10.1109/TSMCB.2004.831165]
-
[16] Krinidis S, Chatzis V. A robust fuzzy local information C-means clustering algorithm[J]. IEEE Transactions on Image Processing , 2010, 19 (5) : 1328–1337. DOI:10.1109/TIP.2010.2040763]
-
[17] Gong M G, Liang Y, Shi J, et al. Fuzzy c-means clustering with local information and kernel metric for image segmentation[J]. IEEE Transactions on Image Processing , 2013, 22 (2) : 573–584. DOI:10.1109/TIP.2012.2219547]
-
[18] Liu J Z. A fuzzy clustering method for image segmentation based on two-dimensional histogram[J]. Acta Electronica Sinica , 1992, 20 (9) : 40–46. [ 刘健庄. 基于二维直方图的图象模糊聚类分割方法[J]. 电子学报 , 1992, 20 (9) : 40–46. ]
-
[19] Guo Y H, Sengur A. NCM: neutrosophic C-means clustering algorithm[J]. Pattern Recognition , 2015, 48 (8) : 2710–2724. DOI:10.1016/j.patcog.2015.02.018]
-
[20] Zangwill W I. Nonlinear Programming: A Unified Approach[M]. Englewood Cliffs, NJ: Prentice Hall, 1969 .