Rank: 70801 based on 0 downloads (last 30 days) and 0 file submitted
photo

Catherine

E-mail
Lat/Long
45.82497, -76.11923

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Catherine View all
Updated File Comments Rating
12 Mar 2012 Connect Randomly Ordered 2D Points into a Minimal Nearest-Neighbor Closed Contour Connects randomly ordered 2D points into a minimal nearest neighbor contour. Author: Tristan Ursell

This works great, and is very fast (on my admittedly small dataset). Thanks! I've been looking for something like this.

15 Feb 2012 ashape: a pedestrian alpha shape extractor extracts 2d alpha shapes from a set of x/y data points Author: us

Daphne, I assume you solved your earlier issue. Here is how I did it.

X=cell2mat(p.ashape);
% p.ashape contains the indices of 2 nodes for each edge; turn it into a single vector (which will have repeats).
ind=reshape(X,[],1);
indu=unique(ind,'rows'); %cancel doubles.

Now any hints for putting these in order going around the shape? I don't want to use line as in the example. I would like to manipulate the boundary to fit it to other data distributed on the boundary.

Contact us