GLTree:Fast K-Nearest Neighbors Search
Downloads:
- 2D version Download Now
- 3D version Download Now
- 2D version precompiled Win32
- 3D version precompiled Win32
Popularity: 7% [?]
Fast Convex Hull Algorithm
Even if totally m-coded, this routine is particularly fast in computing convex hull of 2D points. In many cases seems to be much faster than the matlab library routine. The main reason is that, differently from convhull, this algorithm jumps the call to unique function which can be very slow for large models .
Algorithm is very simple, it’s based on cross product.
It is brand new, so please let me know if something goes wrong!
Since I received comments about different timings this version includes a speed test to compare ConvHull2D to the native matlab convhull. There is also a graphical explanation on how the algorithm works.
ConvHull2D returns indices into the X and Y vectors of the points on the convex hull.
Example: (convex hull of 1000000 random points)
Output:
Elapsed time is 0.104134 seconds.(ConvHull2D)
Elapsed time is 1.207817 seconds.(Matlab built in)
For any problem, bug, information or suggestion just contact me at:
Download Now
Popularity: 28% [?]

















































