-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmuVES_visualize.m
63 lines (63 loc) · 2.51 KB
/
muVES_visualize.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
% =============================== µVES ================================== %
% Copyrights © 2021 Alberto Rota, Luca Possenti
%
% For informations please contact:
% alberto1.rota@polimi.it
% or alberto_rota@outlook.com
% luca.possenti@polimi.it
% ========================================================================%
%% VISUALIZATION TOOL FOR MICROVASCULAR NETWORKS ANALYZED WITH muVES
% Press "Run" to choose which network to visualize.
[name,path] = uigetfile("*.mat");
load(strcat(path,name));
%==========================================================================%
% Set to 1 the visualizations that you want to be shown, 0 otherwise
flat_img = 1;
slices = 1; % --> Only for 3D data
segmentation = 1; % --> Segmentation and Skeletonization are on
skeleton = 1; % the same image for 2D data, set either to
interpolation = 1; % 1 and both will bw shown
graph = 1;
histograms = 1;
radius = 1;
lengthh = 1;
tortuosity = 1;
eccentricity = 1;
pts_classification = 1;
%==========================================================================%
if numel(size(mvn.bw))==3
muVES_3D_visualize()
else
muVES_2D_visualize()
end
% =============================== µVES ================================== %
% Copyrights © 2021 Alberto Rota, Luca Possenti
%
% For informations please contact:
% alberto1.rota@polimi.it
% or alberto_rota@outlook.com
% luca.possenti@polimi.it
% ========================================================================%
%% VISUALIZATION TOOL FOR MICROVASCULAR NETWORKS ANALYZED WITH muVES
% Press "Run" to choose which network to visualize.
[name,path] = uigetfile("*.mat");
load(strcat(path,name));
%==========================================================================%
% Set to 1 the visualizations that you want to be shown, 0 otherwise
flat_img = 1;
slices = 1; % --> Only for 3D data
segmentation = 1; % --> Segmentation and Skeletonization are on
skeleton = 1; % the same image for 2D data, set either to
interpolation = 1; % 1 and both will bw shown
graph = 1;
histograms = 1;
radius = 1;
lengthh = 1;
tortuosity = 1;
pts_classification = 1;
%==========================================================================%
if numel(size(mvn.bw))==3
muVES_3D_visualize()
else
muVES_2D_visualize()
end