Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IAH public
DeProj
Commits
9ba652e2
Commit
9ba652e2
authored
Jul 27, 2020
by
Jean-Yves TINEVEZ
Browse files
Second example has a scale-bar of 50 µm.
parent
087977ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
RunExample2.m
View file @
9ba652e2
...
...
@@ -17,11 +17,11 @@ root_folder = 'samples';
% The segmentation results. Here we use the results from Y. Bellaiche lab
% analysis software. The results must contain a CELL, FRAME, VERTICES and
% SIDES structures.
segmentation_filename
=
'
SIA_161210_gfapnlsg_Backup_001
.mat'
;
segmentation_filename
=
'
AdultZebrafishBrainSeg
.mat'
;
% The tissue surface mesh. It must be a mesh mapping the tissue surface,
% openedd at the tissue borders.
mesh_filename
=
'SimplifiedMesh.ply'
;
mesh_filename
=
'
AdultZebrafishBrain
SimplifiedMesh.ply'
;
% The physical unit of length must be specified (not stored elsewhere).
units
=
'µm'
;
...
...
@@ -48,23 +48,24 @@ dpr = deproj.from_bellaiche( ...
%% Plot morphological parameters.
close
all
scale_bar_length
=
50
;
% um.
fprintf
(
'Plotting the cell sizes.\n'
)
dpr
.
figure_cell_sizes
;
dpr
.
figure_cell_sizes
(
scale_bar_length
)
;
fprintf
(
'Plotting the tissue orientation.\n'
)
dpr
.
figure_tissue_orientation
;
dpr
.
figure_tissue_orientation
(
scale_bar_length
)
;
fprintf
(
'Plotting the tissue local curvature.\n'
)
dpr
.
figure_curvatures
;
dpr
.
figure_curvatures
(
scale_bar_length
)
;
fprintf
(
'Plotting the cell elongation and direction.\n'
)
dpr
.
figure_cell_elongation
;
dpr
.
figure_cell_elongation
(
scale_bar_length
)
;
fprintf
(
'Plotting the impact of projection distorsion.\n'
)
dpr
.
figure_distorsions
;
dpr
.
figure_distorsions
(
scale_bar_length
)
;
fprintf
(
'Plotting the topology figure.\n'
)
dpr
.
figure_topology
;
dpr
.
figure_topology
(
scale_bar_length
)
;
fprintf
(
'Finished.\n'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment