Tortuosity of blood vessels

조회 수: 8 (최근 30일)
BBm
BBm 2014년 10월 17일
댓글: Sean de Wolski 2021년 2월 11일
Hi all,unnamed.jpg
I need to find the tortuosity index of a skeletonized blood vessel (attached text file for x y coordinates) using total squared curvature approach. it's a bit difficult for a matlab beginner like me. I do not have any experience with this kind of equation at all. Can anyone help me creating a function just for this purpose? Thanks

채택된 답변

Sean de Wolski
Sean de Wolski 2014년 10월 17일
  댓글 수: 2
Tri Rowstenkowski
Tri Rowstenkowski 2021년 2월 9일
편집: Tri Rowstenkowski 2021년 2월 9일
Hello Sean,
I am trying to calculate the Tortuosity of blood vessels. (Vessel tortuosity is calculated as the sum of branch lengths divided by the sum of imaginary straight lines).
I have the following questions:
  1. How to calculate the lengths of both actual branches and the imaginary straight lines between nodes
  2. How do I mark the vessel branches (orange) and the branch nodes (yellow) as shown in the picture.
  3. I am calculating "spinelength" as the sum of all pixels. How do I calculate individual branch lengths?
  4. Any suggestions in preprocessing would be appreciated.
clc;
clear;
close all
% Read the image
I=imread('VAD.png');
figure,imshow(I)
%convert it to gray scale
I_gray=rgb2gray(I);
%Sharpen the image
b = imsharpen(I_gray,'Amount',8);
h = fspecial('average', [3 3]);
b = imfilter(b, h);
%choose brighter objects
Bina=b>150
figure,imshow(Bina);
se = strel('cube',3)
erodedBW = imerode(Bina,se);
%Remove small objects from binary image
BW2 = bwareaopen(Bina,100)
figure,imshow(BW2);
skelImage = bwskel(BW2, 'MinBranchLength', 10);
MinBranchLength = round(sum(skelImage(:))/2)
skelImage = bwskel(BW2,'MinBranchLength',MinBranchLength);
figure,imshow(skelImage)
endpointImage = bwmorph(skelImage, 'endpoints');
[rows, columns] = find(endpointImage)
spineLength = sum(skelImage(:))
straightLineDistance = sqrt((columns(2) - columns(1))^2 + (rows(2) - rows(1))^2)
tortuosity = spineLength / straightLineDistance
Sean de Wolski
Sean de Wolski 2021년 2월 11일
Your calculation for spinelength assumes that pixels of any connectivity are equivalently far apart which is not true. You need to account for corner connected v. edge connected. bwdistgeodesic will do this for you (metric of every point to an end point). Then take the max value of that.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Maz M. Khansari
Maz M. Khansari 2019년 10월 15일
Check this out https://www.mathworks.com/matlabcentral/fileexchange/72986-vessel-tortuosity-index-vti

카테고리

Help CenterFile Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by