EndPoints in 3D skeleton
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/575012/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/575017/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/575022/image.png)
I have a 3D Skeletonized Micro-CT Fiber model which obtains completely seperated 7 volumes(fibers). I would like to find the endpoints of each and every fiber and I used below commands to find the end points.
B1=bwskel(testvol,'Minbranchlength',20);
BP = bwmorph3(B1,'endpoints');
Endpoints_Cor=regionprops3(BP,'VoxelList');
stats4=regionprops3(B1,'Volume','VoxelList');
However, my model obtains 7 volumes which are completely seperated. But it gives only 13 endpoints(But I am expecting 14 end points.7*2=14). I noticed one of the endpoint of my third volume does not obtain in the end point list. only one end point is in the list. Could you please explain how I should obtain all the endpoints in each and every volume and why I am missing one endpoint of the third volume? And also, is there anyway to categorise which endpoints belongs to which volume?
Your answers are highly appreciated!
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 7 Apr. 2021
bwmorph() has an 'endpoints' option. The image should be a skeleton. bwmorph() also has a skeleton option but I think bwskel() has a better algorithm.
5 Kommentare
Image Analyst
am 8 Apr. 2021
You can do a brute force loop to find the distance of every point to every other point.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!