-2

I need to come up with a convex hull algorithm to read through a bunch of X , Y co-ordinates and outline the image.. i'm coding in python Any ideas?

Tara
  • 1
  • 1

1 Answers1

2

Are there any more details or constraints to your question? After searching wikipedia for "Convex hull algorithms", it gave me a list of algorithms, of which I clicked "Monotone Chain" http://en.wikibooks.org/wiki/Algorithm_Implementation/Geometry/Convex_hull/Monotone_chain

Prashant Kumar
  • 20,069
  • 14
  • 47
  • 63
  • oh i'm sorry.. the output needs to be the outline of the image that i've set for the program to read. As of right now i have figured out a way to read the XY values of the image.. now i need to implement a convex hull algorithm that reads the XY values and gives me the outline of the image.. Any ideas? I've looked at quite a few algorithms out there but i'm not sure how best to go about implementing this.. – Tara May 17 '11 at 20:57
  • Most out there are generating random points and then outlining the image.. – Tara May 17 '11 at 21:05