# Retinal Blood Vessel Segmentation
## Problem
The code aims to perform retinal blood vessel segmentation using various image processing techniques. Additionally, it includes a validation function to assess the accuracy of the segmentation results compared to ground truth data.
## Mathematical model
- Image Processing Techniques: The code implements several image processing steps to segment blood vessels by using Filtering and Thresholding Techniques like Gaussian filtering, erosion (using a diamond-shaped structuring element), principal curvature calculation, contrast enhancement (histogram equalization), and thresholding are used to identify blood vessels.
- Validation Technique: The validation function compares the segmented image with a ground truth image to compute accuracy metrics in the training phase.
## Selected methods
1. Structuring Element and Erosion: A diamond-shaped structuring element (strel('diamond', 20)) is applied for erosion to refine the mask.
2. Gaussian Filter: Gaussian filtering (imgaussfilt) with a sigma value of 1.45 is used to smoothen the green channel of the input image.
3. Principal Curvature Calculation: A function prinCur calculates the principal curvature of the filtered image.
4. Histogram Equalization and Thresholding: Adaptive histogram equalization (adapthisteq) is performed on the calculated curvature. Thresholding (isodata) is used to segment the vessels.
## Test cases Demonstrations
1- Training Phase:
- Reads training images.
- Processes each image using the described pipeline.
- Generates segmented images and saves them in the processed folder.
- Displays intermediate processing steps if the mode is 'train'.
![training_01](sources/readmeData/training_01.png)
![training_02](sources/readmeData/training_02.png)
- The validation function assesses segmentation accuracy by comparing the segmented image with ground truth data.
It calculates metrics like True Positive Rate (TPR), False Positive Rate (FPR), and Accuracy (AC).
![training_03](sources/readmeData/training_03.png)
2- Testing Phase:
- Reads test images.
- Applies the same processing pipeline.
- Saves the resulting segmented images in the results folder.
- Displays intermediate steps if the mode is 'test' (commented out in the code).
- There is no validation here as I don’t have ground truth values in the test folder database to compare with.
![test_01](sources/readmeData/test_01.png)
没有合适的资源?快使用搜索试试~ 我知道了~
信号和图像处理分配附matlab代码.zip
共114个文件
gif:80个
tif:23个
m:5个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 201 浏览量
2024-01-10
09:37:01
上传
评论
收藏 17.05MB ZIP 举报
温馨提示
1.版本:matlab2014/2019a/2021a,内含运行结果,不会运行可私信 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
资源推荐
资源详情
资源评论
收起资源包目录
信号和图像处理分配附matlab代码.zip (114个子文件)
10_.gif 18KB
6_.gif 18KB
13_.gif 16KB
3_.gif 16KB
9_.gif 14KB
6_.gif 14KB
10_.gif 14KB
3_.gif 13KB
24_manual1.gif 13KB
20_.gif 13KB
5_.gif 13KB
36_manual1.gif 13KB
9_.gif 13KB
14_.gif 12KB
28_manual1.gif 12KB
22_manual1.gif 12KB
27_manual1.gif 12KB
39_manual1.gif 11KB
29_manual1.gif 11KB
38_manual1.gif 11KB
25_manual1.gif 11KB
34_manual1.gif 11KB
33_manual1.gif 11KB
37_manual1.gif 11KB
35_manual1.gif 11KB
32_manual1.gif 11KB
14_.gif 11KB
40_manual1.gif 10KB
30_manual1.gif 10KB
26_manual1.gif 10KB
21_manual1.gif 10KB
12_.gif 10KB
17_.gif 10KB
15_.gif 10KB
17_.gif 10KB
18_.gif 9KB
15_.gif 9KB
1_.gif 9KB
7_.gif 9KB
19_.gif 9KB
13_.gif 9KB
16_.gif 9KB
2_.gif 9KB
8_.gif 9KB
31_manual1.gif 9KB
20_.gif 9KB
19_.gif 8KB
18_.gif 8KB
2_.gif 8KB
12_.gif 8KB
23_manual1.gif 8KB
16_.gif 8KB
11_.gif 8KB
8_.gif 8KB
5_.gif 8KB
4_.gif 7KB
7_.gif 7KB
1_.gif 7KB
4_.gif 6KB
11_.gif 6KB
04_test_mask.gif 3KB
16_test_mask.gif 3KB
07_test_mask.gif 3KB
03_test_mask.gif 3KB
09_test_mask.gif 3KB
11_test_mask.gif 3KB
20_test_mask.gif 3KB
15_test_mask.gif 3KB
18_test_mask.gif 3KB
14_test_mask.gif 3KB
10_test_mask.gif 3KB
17_test_mask.gif 3KB
12_test_mask.gif 3KB
05_test_mask.gif 3KB
02_test_mask.gif 3KB
19_test_mask.gif 3KB
08_test_mask.gif 3KB
01_test_mask.gif 3KB
06_test_mask.gif 3KB
13_test_mask.gif 3KB
settings.json 89B
segmentImages.m 3KB
isodata.m 2KB
retinal_blood_vessel_segmentation.m 956B
findLamda.m 801B
prinCur.m 741B
README.md 2KB
training_01.png 250KB
test_01.png 116KB
training_02.png 100KB
training_03.png 3KB
04_test.tif 776KB
07_test.tif 773KB
15_test.tif 763KB
12_test.tif 755KB
14_test.tif 752KB
17_test.tif 749KB
21_training.tif 741KB
22_training.tif 734KB
16_test.tif 729KB
共 114 条
- 1
- 2
资源评论
Matlab科研辅导帮
- 粉丝: 1w+
- 资源: 7553
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- uniapp中tab切换,底部内容跟着移动,相反,底部移动,tab也跟着切换-组件
- 基于JS+TS实现跨平台3D相机控制器-附项目源码-优质项目分享.zip
- 跨相机-基于Rust实现的跨平台相机捕获-附项目源码-优质项目分享.zip
- odise 14离线安装包 大众斯柯达奥迪 5054 6153
- 网页设计期末作业-纯html加css+少量js-盗墓笔记旅游导航网站.rar
- 算法笔记模拟退火.rar
- MATLAB大数据仿真案例-蚁群算法(ACO)用于求解旅行商(TSP)问题.rar
- 基于yolov5的吸烟行为检测源码+模型.zip
- MySQL基础知识-个人笔记.rar
- Project8.ipynb
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功