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

Use the find_contour method in from_bellaiche.

parent 6fa45813
......@@ -125,6 +125,9 @@ classdef deproj
% Sort the points of a polygon in clockwise manner.
P2 = sort_polygon( P )
% Sort x,y coordinates along a continuous contour.
P2 = find_countour( P )
end
......
......@@ -54,7 +54,7 @@ function obj = from_bellaiche( ...
x = idivide( ids, width);
y = rem( ids, width);
P = double( [ x y ] );
P = deproj.sort_polygon( P );
P = deproj.find_countour( P );
P = P * pixel_size;
% TODO
......
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