✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
⛄ 内容介绍
In this article, we elaborate on a Kullback–Leibler (KL) divergence-based Fuzzy C -Means (FCM) algorithm by incorporating a tight wavelet frame transform and morphological reconstruction (MR). To make membership degrees of each image pixel closer to those of its neighbors, a KL divergence term on the partition matrix is introduced as a part of FCM, thus resulting in KL divergence-based FCM. To make the proposed FCM robust, a filtered term is augmented in its objective function, where MR is used for image filtering. Since tight wavelet frames provide redundant representations of images, the proposed FCM is performed in a feature space constructed by tight wavelet frame decomposition. To further improve its segmentation accuracy (SA), a segmented feature set is reconstructed by minimizing the inverse process of its objective function. Each reconstructed feature is reassigned to the closest prototype, thus modifying abnormal features produced in the reconstruction process. Moreover, a segmented image is reconstructed by using tight wavelet frame reconstruction. Finally, supporting experiments coping with synthetic, medical, and real-world images are reported. The experimental results exhibit that the proposed algorithm works well and comes with better segmentation performance than other peers. In a quantitative fashion, its average SA improvements over its peers are 4.06%, 3.94%, and 4.41%, respectively, when segmenting synthetic, medical, and real-world images. Moreover, the proposed algorithm requires less time than most of the FCM-related algorithms.
⛄ 部分代码
function RRR=Optivalue(RR,k)
[m, n, c]=size(RR);
RR=floor(RR(:));
U=unique(RR);
H=histc(RR,U);
HU=sortrows([H U],1);
HHU=HU(end-k+1:end,:);
for i=1:length(RR)
[p,q]=min(abs(RR(i)-HHU(:,2)));
RR(i)=HHU(q,2);
end
RRR=reshape(RR, m, n, c);
⛄ 运行结果
⛄ 参考文献
[1] 齐国红. 基于FCM和SVM相结合的作物病害图像分割方法研究[D]. 郑州大学.
[2] 王海鹰. 基于聚类的图像目标分割方法研究[D]. 西安电子科技大学.
[3] 杨漫. 基于模糊C-均值聚类与模糊支持向量机的自适应图像分割算法[D]. 大连理工大学, 2014.
[4] 路彬彬. 基于模糊C-均值聚类的遥感图像分割算法研究[D]. 新疆大学, 2012.