Commit 6b2f62ce authored by Jean-Yves TINEVEZ's avatar Jean-Yves TINEVEZ
Browse files

Fix the 3D ellipse fit call.

We want to run the fit on the non-centered points to yield the center
of the ellipse in the returned array.
parent 00e5ca18
......@@ -43,7 +43,7 @@ classdef epicell
% Morphological descriptors on non-downsampled boundary.
p = epicell.centered_points( boundary );
obj.euler_angles = epicell.fit_plane( p );
obj.ellipse_fit = epicell.fit_ellipse_3d( p, obj.euler_angles );
obj.ellipse_fit = epicell.fit_ellipse_3d( boundary, obj.euler_angles );
end
function h = plot_patch_2d( obj, val )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment