【图像分割】基于Kmean聚类 分水岭、oust、粒子群算法优化脂肪肝图像分割附matlab代码

简介: 【图像分割】基于Kmean聚类 分水岭、oust、粒子群算法优化脂肪肝图像分割附matlab代码

✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。

🍎个人主页:Matlab科研工作室

🍊个人信条:格物致知。

更多Matlab仿真内容点击👇

智能优化算法  神经网络预测雷达通信 无线传感器

信号处理图像处理路径规划元胞自动机无人机 电力系统

⛄ 内容介绍

Particle Swarm Optimization (PSO) is population based stochastic algorithm to form clusters with the help of fitness functions. PSO clustering algorithm is widely used in pattern recognition methods such as image segmentation where PSO defines less number of clusters compared to conventional clustering approaches. Level Sets image segmentation aided with the clustering gives fast convergence towards the desired boundaries of the object to be segmented. Here in this paper a novel approach of image segmentation using PSO clustering applied to Level sets is been presented where PSO performs better than KFCM by generating more compact clusters and larger inter cluster separation. The proposed method is successfully implemented on the images and results obtained show the effectiveness of the approach.

⛄ 部分代码

%% Fatty Liver Level Recognition Using Particle Swarm optimization (PSO) Image Segmentation and Analysis

% https://ieeexplore.ieee.org/document/9960108

% DOI: 10.1109/ICCKE57176.2022.9960108

% Please cite below:

%% -------------------------------------------------------------------------------


clear;

clc;

close all;

warning('off');

% Loading

img=imread('fat.jpg');

img=im2double(img);

imgtemp=img;

img = histeq(img);

gray=rgb2gray(img);

gray=imadjust(gray);

% Reshaping image to vector

X=gray(:);

%% Starting PSO Segmentation

k = 2; % Number of segments

%-------------------------------------------------

%% Statistics

[Accuracy, Sensitivity, Fmeasure, Precision,...

MCC, Dice, Jaccard, Specitivity] = SegPerformanceMetrics(GT, GTComp);

disp(['Accuracy is : ' num2str(Accuracy) ]);

disp(['Precision is : ' num2str(Precision) ]);

disp(['Recall or Sensitivity is : ' num2str(Sensitivity) ]);

disp(['F-Score or Fmeasure is : ' num2str(Fmeasure) ]);

disp(['Dice is : ' num2str(Dice) ]);

disp(['Jaccard is : ' num2str(Jaccard) ]);

disp(['Specitivity is : ' num2str(Specitivity) ]);

⛄ 运行结果

⛄ 参考文献

Mousavi, Seyed Muhammad Hossein, et al. “Fatty Liver Level Recognition Using Particle Swarm Optimization (PSO) Image Segmentation and Analysis.” 2022 12th International Conference on Computer and Knowledge Engineering (ICCKE), IEEE, 2022, doi:10.1109/iccke57176.2022.9960108.

⛄ Matlab代码关注

❤️部分理论引用网络文献,若有侵权联系博主删除
❤️ 关注我领取海量matlab电子书和数学建模资料


相关文章
|
9月前
|
存储 传感器 分布式计算
针对大尺度L1范数优化问题的MATLAB工具箱推荐与实现
针对大尺度L1范数优化问题的MATLAB工具箱推荐与实现
|
9月前
|
机器学习/深度学习 算法 机器人
【水下图像增强融合算法】基于融合的水下图像与视频增强研究(Matlab代码实现)
【水下图像增强融合算法】基于融合的水下图像与视频增强研究(Matlab代码实现)
782 0
|
9月前
|
机器学习/深度学习 算法 机器人
使用哈里斯角Harris和SIFT算法来实现局部特征匹配(Matlab代码实现)
使用哈里斯角Harris和SIFT算法来实现局部特征匹配(Matlab代码实现)
398 8
|
9月前
|
机器学习/深度学习 算法 自动驾驶
基于导向滤波的暗通道去雾算法在灰度与彩色图像可见度复原中的研究(Matlab代码实现)
基于导向滤波的暗通道去雾算法在灰度与彩色图像可见度复原中的研究(Matlab代码实现)
463 8
|
9月前
|
机器学习/深度学习 供应链 算法
【电动车】基于削峰填谷的电动汽车多目标优化调度策略研究(Matlab代码实现)
【电动车】基于削峰填谷的电动汽车多目标优化调度策略研究(Matlab代码实现)
320 0
|
9月前
|
机器学习/深度学习 数据采集 负载均衡
结合多种启发式解码方法的混合多目标进化算法,用于解决带工人约束的混合流水车间调度问题(Matlab代码实现)
结合多种启发式解码方法的混合多目标进化算法,用于解决带工人约束的混合流水车间调度问题(Matlab代码实现)
422 0
|
9月前
|
机器学习/深度学习 算法 新能源
基于动态非合作博弈的大规模电动汽车实时优化调度电动汽车决策研究(Matlab代码实现)
基于动态非合作博弈的大规模电动汽车实时优化调度电动汽车决策研究(Matlab代码实现)
231 0
|
9月前
|
机器学习/深度学习 存储 人工智能
基于双层共识控制的直流微电网优化调度(Matlab代码实现)
基于双层共识控制的直流微电网优化调度(Matlab代码实现)
248 0
|
9月前
|
机器学习/深度学习 人工智能 算法
【基于TTNRBO优化DBN回归预测】基于瞬态三角牛顿-拉夫逊优化算法(TTNRBO)优化深度信念网络(DBN)数据回归预测研究(Matlab代码实现)
【基于TTNRBO优化DBN回归预测】基于瞬态三角牛顿-拉夫逊优化算法(TTNRBO)优化深度信念网络(DBN)数据回归预测研究(Matlab代码实现)
359 0
|
9月前
|
算法 定位技术 计算机视觉
【水下图像增强】基于波长补偿与去雾的水下图像增强研究(Matlab代码实现)
【水下图像增强】基于波长补偿与去雾的水下图像增强研究(Matlab代码实现)
1097 0

热门文章

最新文章