Locate circular hole in planar surface

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Locate circular hole in planar surface

argy-bargy
This post was updated on .
Hello All,

I am trying to locate the centre + normal vector of the circular hole in the point cloud shown below. The point cloud is a planar surface and the hole is circular, roughly 40mm in diameter.

<http://www.pcl-users.org/file/t496865/Capture.jpg

My current approach involves projecting the cloud onto the XY plane and then creating a uniform grid_cloud of the same resolution / size. I am able to prune this grid_cloud based on its differences to the above shown cloud, which gives me a sort of 'negative space' representation. Detecting the circular shape and its respective center is relatively straight forward from there.


My preliminary results are ~OK, but I thought I would check the here to see if anyone has any novel ideas I could implement to improve upon it.

Are there any sort of edge detection, or hole detection, libraries I could make use of?
For instance I am able to qutie easily generate a poly-line which traces the outer perimeter of the cloud, but unfortunately not the inner circle perimeter.

Thanks!





--
Sent from: http://www.pcl-users.org/
_______________________________________________
PCL-users@pointclouds.org / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: Locate circular hole in planar surface

nenadpol
This post was updated on .
Reply | Threaded
Open this post in threaded view
|

Re: Locate circular hole in planar surface

argy-bargy
Great stuff, worked so easily  Thanks!



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users