Polygon design tool / polygons form image?

BlitzMax Forums/BlitzMax Programming/Polygon design tool / polygons form image?

SpaceAce(Posted 2006) [#1]
Does anyone know of an existing tool for designing simple polygons? I'm thinking of something with a basic click-to-add-points functionality that will export the points in a n x,y,x,y,x,y format. I don't want to reinvent the wheel if this already exists.

Also, has anyone ever tried to extract polygons based on image data? For instance, in a 2D-map war game, you could use this to automatically detect and define the shape/location of territories on user-created map images. I've thought of a few ways to do this, mostly based on using image colors to find borders, but the ways I come up with are either ridiculously complicated or break down under certain circumstances.

SpaceAce


Dreamora(Posted 2006) [#2]
For the later one, I would use neural networks and do image analysis stuff to find "borders" as it is done by digicam etc to find faces.

Gives you much more usefull informations to do your polygon.