Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] How to obtain a polygon from a segmented image?
- Date: Sat, 25 Oct 2008 20:16:51 +0200
Thanks for your reply. You've given me an idea to achieve the transformation. Actually I've implemented a background method to segment an input image into a binary image with background and foreground zones. With a method to obtain the line segments which you are talking about, like Hough transform, I will collect them to for the polygon desired by means of the procedure you've described.
Cheers!
Luis
Quoting Ben Supnik
<>:
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:
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] How to obtain a polygon from a segmented image?, i22dimal, 10/25/2008
- Re: [cgal-discuss] How to obtain a polygon from a segmented image?, Andreas Fabri, 10/25/2008
- Re: [cgal-discuss] How to obtain a polygon from a segmented image?, Ben Supnik, 10/25/2008
- Re: [cgal-discuss] How to obtain a polygon from a segmented image?, i22dimal, 10/25/2008
- Re: [cgal-discuss] How to obtain a polygon from a segmented image?, Pierre Alliez, 10/25/2008
- Re: [cgal-discuss] How to obtain a polygon from a segmented image?, i22dimal, 10/25/2008
Archive powered by MHonArc 2.6.16.