Skip to content
GitLab
Menu
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
d77f866e
Commit
d77f866e
authored
Jul 04, 2020
by
Jean-Yves TINEVEZ
Browse files
Plot all ellipses from an epicell collection.
parent
fabd6a1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plot_fit_ellipse.m
0 → 100644
View file @
d77f866e
function
[
hf
,
hc
,
he
]
=
plot_fit_ellipse
(
epicells
)
%PLOT_FIT_ELLIPSE Summary of this function goes here
hf
=
figure
(
'Position'
,
[
1204
20
600
500
]
);
hold
on
axis
equal
n_obj
=
numel
(
epicells
);
hc
=
NaN
(
n_obj
,
1
);
he
=
NaN
(
n_obj
,
1
);
for
i
=
1
:
n_obj
o
=
epicells
(
i
);
[
f
,
v
]
=
fit_ellipse_3d
(
double
(
o
.
boundary
)
);
hc
(
i
)
=
o
.
plot_contour_3d
;
he
(
i
)
=
plot_ellipse_3d
(
f
,
v
);
end
add_plot_scalebar
(
gca
,
epicells
,
10
,
'µm'
);
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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