【图像分割】基于改进的主动轮廓模型实现图像分割附matlab代码

news/2024/7/8 0:32:15

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

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

🍊个人信条:格物致知。

更多Matlab仿真内容点击👇

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

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

⛄ 内容介绍

In this paper, we present a new distribution metric for image segmentation that arises as a result in prediction theory. Forming a natural geodesic, our metric quantifies "distance" for two density functionals as the standard deviation of the difference between logarithms of those distributions. Using level set methods, we incorporate an energy model based on the metric into the Geometric Active Contour framework. Moreover, we briefly provide a theoretical comparison between the popular Fisher Information metric, from which the Bhattacharyya distance originates, with the newly proposed similarity metric. In doing so, we demonstrate that segmentation results are directly impacted by the type of metric used. Specifically, we qualitatively compare the Bhattacharyya distance and our algorithm on the Kaposi Sarcoma, a pathology that infects the skin. We also demonstrate the algorithm on several challenging medical images, which further ensure the viability of the metric in the context of image segmentation.

⛄ 部分代码

clear all

close all

clc

img=double(dicomread('IM0.dcm'));%读取图像

iter = 1000;

alpha = .05;

dt = .4;

flag_approx = 0;

[M,N]=size(img);

mask=zeros(M,N);

mask(200:400,100:400)=1;

% %read img path

% img = double(imread(img_path));

if(size(img,3)~=1);

    disp(['WARNING:  Code only works for gray scale, please modify '...,

        'code. Will continue will process input image as gray scale.']);

    img = (img(:,:,1)+img(:,:,2)+img(:,:,3))/3;

end

%if no pre_mask given, display image so user can select initialization

if(~exist('mask','var'));

    imshow(img,'InitialMagnification',200);

    mask = double(get_rect_mask(img));

else

    mask = mask;

end

%compute sdf function

phi = bwdist(mask) - bwdist(1-mask)+im2double(mask);

%run active contour

[result,pin,pout] = Tryphon_NB(img, phi, iter, dt, alpha,flag_approx);

⛄ 运行结果

⛄ 参考文献

[1] Sandhu R ,  Georgiou T ,  Tannenbaum A . A New Distribution Metric for Image Segmentation[C]// Imaging Processing pt.1. School of Electrical & Computer Engineering, Georgia Institute of Technology, Atlanta, GA 30332-0250;Department of Electrical & Computer Engineering, University of Minnesota, Minneapolis, MN 55455, 2008.

❤️ 关注我领取海量matlab电子书和数学建模资料

❤️部分理论引用网络文献,若有侵权联系博主删除


http://lihuaxi.xjx100.cn/news/88136.html

相关文章

刚入行的自媒体短视频创作者必须要了解的基础知识汇总-第一季

刚入行的自媒体短视频创作者必须要了解的基础知识汇总-第一季 大家好,我是我赢助手,专注于自媒体短视频去水印、去重和文案提取运营! 我是自媒体行业的新手小白,很多的人问我关于短视频的问题,我也会一一给大家解答&…

北京外企 外服控股:人服国企借道资产重组上市

北京外企 &外服控股:人服国企借道资产重组上市,发 力数字化 谋新篇4.2.1 北京城乡:与北京外企资产置换在即,人服赛道再添巨头 7 月 28 日,证监会批复北京城乡与北京外企资产置换,并通过发行股份的方 式…

Easy Excel 使用总结

title: Easy Excel 使用总结 date: 2022-10-14 17:33:57 tags: Excel categories:开发技术及框架 cover: https://cover.png feature: false 1. 概述 官网地址:EasyExcel 官方文档 - 基于 Java 的 Excel 处理工具 | Easy Excel (alibaba.com) EasyExcel 是一个基…

Windows Server 2016 AD(一)用户禁用USB存储设备

1:登录域控制器,运行Active Directory用户和计算机,新建一个测试组织单元进行测试。 2:起名测试,确定完成。 3: 右键测试新建测试用户。 4:新建两个用户it3和it4,用于测试。 5:输入密…

Mybatis如何使用分页插件pageHelper

目录 1. 导入依赖: 2. mybatis-config.xml文件配置plugins标签 3. 如何在代码中使用 1). PageHelper.startPage 静态方法调用 2) PageHelper.startPage 静态方法返回值获取参数 3) lambda用法 3.1 返回Page 3.2 返回PageInfo,PageInfo包含了更加…

Python笔记【十】

本文为博主原创,未经授权,严禁转载及使用。 本文链接:https://blog.csdn.net/zyooooxie/article/details/123639025 继续学习Python,继续更新。 这是我写的 学习Python的系列博客: https://blog.csdn.net/zyooooxie/…

【ORCA学习】-在windows系统安装ORCA

在windows系统安装ORCAORCA介绍进入ORCA官网运行ORCA环境变量设置ORCA介绍 ORCA是量子化学计算中可以实现多种计算方法的程序包(An ab initio, DFT and semiempirical SCF-MO package) 进入ORCA官网 首先,谷歌搜索ORCA Forum(需要科学上网),进入ORCA官网…

2023武汉科技大学考研分析

计算机学科评估:C 软件工程学科评估:C 校友会排名:4★ 2023考研人数及科目 005计算机科学与技术学院: 081200计算机科学与技术 30人 081204计算机科学与技术(人工智能方向) 12人 0812J2&#xff…