How can I find a diameter of cylindrical 3D point cloud in MATLAB?

I have a 3D point cloud of a hollow pipe captured using intel realsense D435i camera. I want to determine the diameter of the pipe. I have taken a thin slice of a pipe by using roi function and divided points on the circumference based on the value of x coordinate. i. e. if x > 0 and x < 0. Now, I plan to measure farthest point distance for one set of points, say for x >0 and similarly for other set of points x < 0. Average of these distances will give me diameter. please suggest how can I measure the farthest point distance?
Thanks in advance!

Categorías

Más información sobre Computer Vision Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Preguntada:

el 16 de Jun. de 2020

Respondida:

el 16 de Jun. de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by