Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Efficient_RANSAC: Plane detection and point indices

Subject: CGAL users discussion list

List archive

[cgal-discuss] Efficient_RANSAC: Plane detection and point indices


Chronological Thread 
  • From: Thomas Holzmann <>
  • To:
  • Subject: [cgal-discuss] Efficient_RANSAC: Plane detection and point indices
  • Date: Wed, 24 May 2017 15:32:35 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:YOK8bxx9RWmjoF/XCy+O+j09IxM/srCxBDY+r6Qd2+0TIJqq85mqBkHD//Il1AaPBtSFra8bw6qO6ua7CDNGuc7A+Fk5M7VyFDY9yv8q1zQ6B8CEDUCpZNXLVAcdWPp4aVl+4nugOlJUEsutL3fbo3m18CJAUk6nbVk9Kev6AJPdgNqq3O6u5ZLTfx9IhD2gar9uMRm6twvcu80XjId4Kqs8yAbCrn9Ud+hL329lK1aekhTm6sus4JJv9jlbtu48+cJHTaj1cKM0QKBCAjghL247+tDguwPZTQuI6HscU2EWnQRNDgPY8hz0XYr/vzXjuOZl1yaUIcP5TbYvWTS/9KhrUwPniD0GNzEi7m7ajNF7gb9BrxKgoxx/xJPUYJ2QOfFjcK7RYc8WSGxcVclWSyFMDIGxYoUWA+YdMutTso3xqlsSoRe7AwSnGeHhxSJShnLuw6M00/kvHwLI0gMuEN0BrHvaoc7pNKoQS+250LXEwDvBYv5QxDzz6JLIchckofyUQ7xwcc3RyUw1GAPek16eq4vlPzeU1+QIqWeb6exgXv+ohm4nrAFxpjmuxsI2hYnPgIIY0VHE+jl2wIovOd24VUF7YcS+H5pRrS2VLZd2T9okTmp1tig6zbgGtoS6fCgM0Jkn2wPfa/Odc4eS4xPvTvyeIStgiH15d7KwnRKy/VKnyu3mWcm51ktBoCldktTUq3wByRje5tKZRvZ/5EutxyyD2x7P5u1aOUw4iLTXJpo7zrIulJcfq1rPEjPrlEnsgqKbdUMp8fWy5ev9eLXpvJqcOpd0ig7gNqQundSyAeEiPQgPW2ib4/qz1Ln58kz5WrlKkuA2kqbDsJ/AJMUXvLS2AxNN3oYi7RawESum3cwFkXUZKF9JYgyLgorzN13QOvz0E+uzj0q0nDdu3f/GP7nhApvXLnjElbfsZbZ960lYyAsyyNBQ/ZRUCrcaLfLyRkDxu8bUDgMkMwy72eboEtR82pkEVmKTGqOZKr/dsUeU5uIzJOmBfJMauDnnJPgh/vLhkH45mUQBcqm0xpsXc2u1Hu9mIkWceXrjmM0NEWYMvgokTezlkkeOUTBJZyX6Y6Vp7T4yDMeqDJzIW5u2qL2HxiayWJNMNU5cDVXZLXfvcoyfE9cLbDCXK8ln2mgEUryzToYn0zmvvwC816doNOPGvCQE48GwnONp7vHewElhvQd/CN6QhjzVQg==

Hi,

I'm detecting planes in a point cloud by using RANSAC as described in the manual at 4.1:

http://doc.cgal.org/latest/Point_set_shape_detection_3/index.html#title4

This works very well.

Next, I want to iterate over all assigned points of each plane as described in 4.3. This works, but it seems as the input pointsWithNormals-vector is rearranged, and therefore the retrieved indices doesn't correspond to the original ordering of the vector.

Is there a way to keep the original ordering of the points? Or, if not, is it possible to store an additional information (the original ID) for each pointWithNormal?

Thomas

--
====================================================
Dipl.-Ing. Thomas Holzmann
TU Graz - Institut fuer Maschinelles Sehen und Darstellen
Graz University of Technology - Institute for Computer Graphics & Vision
Inffeldgasse 16/II, 8010 Graz, Austria

http://www.icg.tugraz.at/
phone: +43 316 873 5091
====================================================




Archive powered by MHonArc 2.6.18.

Top of Page