Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] Point Set Shape Detection - connected component do not provide expected results

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] Point Set Shape Detection - connected component do not provide expected results


Chronological Thread 
  • From: Kilian Demeulemeester <>
  • To: "" <>
  • Subject: RE: [cgal-discuss] Point Set Shape Detection - connected component do not provide expected results
  • Date: Fri, 6 Jul 2018 13:33:24 +0000
  • Accept-language: fr-FR, en-US
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=PermError ; spf=Pass
  • Ironport-phdr: 9a23:HnSIEhagsPuidYJBhstnuZ7/LSx+4OfEezUN459isYplN5qZpsy9ZB7h7PlgxGXEQZ/co6odzbaO7ea4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYL5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM38H/ZhNFsjKxVoxyhqR5ww4/Ib4+aO/VzZb/dfcoGSWZdQspdSzFND4WhZIUPFeoBOuNYopH4qVsPqRu+BBOjBOXywTFGmHD22LM10/klEQ7Y2QwvAcwBsG/IrNrrLqcZTOe4zKrJzTXHbvNZwzH95JLVfR06uvGMW6h/cdLSyUkuEQPJlFuQqZb8Mj6Ty+8DvW+b7+96WuKujW4qswdxrSK0ycg3jonGmJgZxUzD9SV82Io1Ktq4SEl0Yd6gDpRcrT2VN4xzQs86QmFovjw6yrwctpKhcigK0owryALQa/Odd4iE+BXjVPyeITtgi3JqZrW/hxOs/ki80O39Vse030xWoSpZldnMrHAM2wbP5ciAT/tw+Fqq1zWX1w3L9+1IPU85mbDUJpMj2LI8ioAfvVnNEyPqgEn7iLGael859uWo5OnreKjqqoOcOoNulw3zNrgiltSxAesmMQUCQ22W9OGg27H+/UD2XrBHguA1n6bDs53XIMQWqbSkDANJ14su6hayAyml3dkegHIJNkhKeAidgIjsI1zOIO73DfO4g1m0nzlkyezIMqH8DpnULHbNn6rtca9660FH1gU/19df549ICr4aJ/LzR0nxu8HCAh8hKQy0xPrnB8th2YMCWGKPBamZPLnVsV+V+uIvJ+6MZIgWuDrnN/cl4PvugWc4mV8bY6apwYMaZG2kEvlpOUmUbnjhjs0dHWsQowYzQvDmhEWHUTFJZnayW6w85is8CIKjFYrDRYGtgLiA3CihGJ1afH1JB0uXEXfubYqEQ/QMaCOUIsN7nDwET6CtS5U92hG2qA/6171nI/LI9S0Xr53j0MF56PDSlREp6TN0Et+d03qWQmFvnmIIQic207plrUx8zFeDy6l4jOZCGdxd/fMaGjo8LoPWmuxmF8jpCEWGZcaMUF/gQ9O8ADh3QMh22M4Le086GtOsiVfI0COuRrMUjLeWH4dnzqWJlXP+LsI4x3fd37Q6lHEnRNFOPCuonOQ3owPcDoqMn0SCnLuxbowd2jTM/SGN1zzdkltfVVtTUKHEVHZXSkbToMn960bPQqSyBK5vZghAzc+LLO1GQsbvhE1FRfGlNs6IMDH5oHu5GRvdnuDEV4HtYWhIhHyMWnhBqBga+DO9DSZ7Ay6gp2zECzk3TwD0ZUr08uh47n2hHBFtk1O6KnZ53r/wwSY7wOSGQqpJjKkCsT8iqjMyEkzvh4uLWerFnBJoeeBnWf144FpD0j6G5SFABMT5aoBP3xsZeQkxuF7y3RJqDIkGidItsH4h0At1L+SfzU9FcDSbm5v3P++OJw==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hi Simon!

Thank you for the answer :)

The point cloud is available here:
https://drive.google.com/open?id=1r4-9vLq35L6c4SwlGvqppzv6-wrP8nfV (108Mo).

We are using CGAL 4.10.2.

I've seen that there has been changes relative to that package but... nothing
related to this.

I've checked the release note and didn't see anything related to that bug.

I've also blamed the changes of the method connected_component in
CGAL\Shape_detection_3\Shape_base.h - and did not find any changes lately.

As for now, I think I will try to extend the class
CGAL::Shape_detection_3::Plane<Traits> to create my own version - and
overload the connected_component method to use our own version (using opencv).


Bien cordialement.
Kilian Demeulemeester
Directeur R&D  
Snapkin | Outil de mesure et de mise en plan 2D/3D pour le bâtiment.
Tél : +33 (0)7 83 49 82 36 | Discutons !


-----Message d'origine-----
De :


<>
De la part de Simon Giraudot
Envoyé : vendredi 6 juillet 2018 15:04
À :

Objet : Re: [cgal-discuss] Point Set Shape Detection - connected component do
not provide expected results

Hello,

This is indeed unexpected. From what you explain in your email, I don't think
you did anything wrong, so I suspect there is a bug in the package. What
version of CGAL do you use? There has been some changes in the Shape
Detection package lately (but if I remember correctly, nothing that addresses
a bug like this one).

Is there any way you could you share the point cloud so I can try to
reproduce it and find where is the bug?

Best,

--
Simon Giraudot, PhD
R&D Engineer
GeometryFactory - http://geometryfactory.com/


Le 06/07/2018 à 10:16, KDemeul a écrit :
> Hello,
>
> I am trying to use the Point Set Shape Detection
> <https://doc.cgal.org/latest/Point_set_shape_detection_3/index.html#Chapter_Point_Set_Shape_Detection>
> package - in order to detect PLANEs only.
>
> I've defined the value of the parameters as follow:
> -probability=0.01
> - minPoints=10000
> - epsilon=0.01
> - clusterEpsilon=0.05
> - normalThreshold=0.9
>
> However, it seems that the clusterEpsilon parameter is not correctly taken
> into account.
>
> Here is an example of a plane detected by the algorithm.
>
> As one can see, the left part is disconnected from the right part - by a gap
> of approx 1.6m.
>
> <http://cgal-discuss.949826.n4.nabble.com/file/t375977/Sans_titre.png>
>
> Is there something I don't get?
>
> Best regards,
>
> Kilian Demeulemeester.
>
>
>
> --
> Sent from: http://cgal-discuss.949826.n4.nabble.com/
>



--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





Archive powered by MHonArc 2.6.18.

Top of Page