# Calculate the network graph of a 3D voxel skeleton.

Version 1.0.0 (270 KB) von
Convert a 3D skeleton binary matrix created with bwskel(D) to a MATLAB Graph, in a fast and efficient manner (no loops)
Aktualisiert 13. Sep 2023

Lizenz anzeigen

Convert a 3D skeleton binary matrix created with bwskel(D) to a
MATLAB Graph, in a fast and efficient manner (no loops) similar to Skel2graph3D:
https://www.mathworks.com/matlabcentral/fileexchange/43527-skel2graph-3d?s_tid=ta_fx_results
In about one tenth of the time.
Input: Binary skeleton (Like the included skel, view with isosurface(skel)
Output: G: A MATLAB 3d graph object - https://www.mathworks.com/help/matlab/ref/graph.html?s_tid=srchtitle_site_search_1_graph
P: 3D points coordinates
Z: The zscore of these (P) points location
Dependencies: dependencies.toolboxDependencyAnalysis('Skel2graph3D_fast.m'): {'MATLAB'} {'Statistics and Machine Learning Toolbox'}
MATLAB version: created with MATLAB version 2023a but should work with earlier
versions
to view the graph in 3D:
close all; p = plot(G); hold on
p.XData = P(:,1); p.YData = P(:,2); p.ZData = P(:,3);
rotate3d; view(3);

### Zitieren als

Haim Ezer (2024). Calculate the network graph of a 3D voxel skeleton. (https://www.mathworks.com/matlabcentral/fileexchange/135281-calculate-the-network-graph-of-a-3d-voxel-skeleton), MATLAB Central File Exchange. Abgerufen .

##### Kompatibilität der MATLAB-Version
Erstellt mit R2023a
Kompatibel mit allen Versionen
##### Plattform-Kompatibilität
Windows macOS Linux
##### Quellenangaben

Inspiriert von: Skel2Graph 3D

### Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0