Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Does anybody know a _very easy_ method to find a “convex hull” for a set of given points in a 2d scenario?

Thank you in advance.
Posted
Updated 24-Jan-14 11:56am
v2

1 solution

It is not quite easy, by the very nature of this problem, but I used the code of AForge.NET and was very satisfied with the quality of results and performance. Please see:
http://en.wikipedia.org/wiki/Aforge.net[^],
http://www.aforgenet.com/[^],
http://www.aforgenet.com/aforge/framework/docs[^].

And here is the convex hull:
http://www.aforgenet.com/framework/docs/html/eb434e52-9781-2f51-f092-8a76db2814b9.htm[^],
http://www.aforgenet.com/framework/docs/html/990cafc5-3613-e13f-615a-f5a7e359f262.htm[^].

I used it as a part of blob recognition, and the hulls of each blob were quite accurate and the whole thing performed in no time — highly recommended.

See also the CodeProject articles by the author of AForge.NET: Andrew Kirillov: http://www.codeproject.com/Articles/Andrew-Kirillov#articles[^].

—SA
 
Share this answer
 
v2
Comments
[no name] 24-Jan-14 18:15pm    
Great to see you coming back in this forum ;) I will check your suggestions immediately.

Thank you very much, kind regards, Bruno
Sergey Alexandrovich Kryukov 24-Jan-14 18:28pm    
Hope you will be satisfied and accept the answer formally.
I did not leave anywhere, just very busy so I only paid attention for more interesting posts, like yours. :-)
—SA
[no name] 24-Jan-14 18:45pm    
It will take some time to check all these links. But in the meanwhile I will accept your answer "blind", because I trust in you by experience. (+- my english, you know it meanwhile :) )

Kind regards, Bruno
Sergey Alexandrovich Kryukov 24-Jan-14 18:57pm    
Of course... you did not have to accept or deny anything in a blindfolded way. Anyway, you can change your mind at any time.
Good luck.
—SA
[no name] 24-Jan-14 19:26pm    
I followed your comments and answers for a long time now, and really I learned with each of them! So also with this "easy" question I trust on your recommondations!

It's just hard for my notion that a 2d convex hull is so difficult to determine. I imagine "I'm sitting in the center" and see all the points ..... visually simple .... computationally not really. But I'll stay tuned;)

Kind regards, Bruno...and sometimes I hated you for your comments ;)

http://www.youtube.com/watch?v=vBadAVsdixk

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900