Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to obtain a polygon from a segmented image?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to obtain a polygon from a segmented image?


Chronological Thread 
  • From: Ben Supnik <>
  • To:
  • Subject: Re: [cgal-discuss] How to obtain a polygon from a segmented image?
  • Date: Sat, 25 Oct 2008 12:22:38 -0400

Hi,

If you have a set of line segments you could insert them all into an arrangement_2, then analyze the arrangement topologically to detect closed regions. (Or use the arrangement to build a "general polygon set" and let the polygon set code find the polygons for you with some hints.)

cheers
ben




wrote:
Hi! I'm a new user of the CGAL Library. I'm actually reading different
sections of the Reference Manual and I've a doubt I'd like to check in
this discuss list.

I want to obtain a polygon from a binary image, resulting from a
segmentation process, such that the foreground of this image establishes
the boundaries of the polygon. Are there any way implemented into the
library to achieve this transformation ? Otherwise ... Could you advise
me a procedure to achieve it?

Thanks in advance, and sorry for my bad english :P.


--
Scenery Home Page: http://scenery.x-plane.com/
Scenery blog: http://xplanescenery.blogspot.com/
Plugin SDK: http://www.xsquawkbox.net/xpsdk/
X-Plane Wiki: http://wiki.x-plane.com/
Scenery mailing list:

Developer mailing list:




Archive powered by MHonArc 2.6.16.

Top of Page