STL file Find center sphere

2 visualizaciones (últimos 30 días)
Giulia Mazzucchelli
Giulia Mazzucchelli el 12 de Feb. de 2018
Respondida: Giulia Mazzucchelli el 11 de Mzo. de 2019
Hi there,
I have a STL file (stereolitography file format) and in this file there are 3 semisphere, is possibile using Matlab to detect those sphere and calculate center of each sphere? Thanks in advance

Respuestas (2)

Alexandr Litvin
Alexandr Litvin el 11 de Mzo. de 2019
Hi, I am solving a similar problem. Did you find the coordinates of the sphere in the STL image?
  1 comentario
darova
darova el 11 de Mzo. de 2019
Have a few spheres? Is there a distance between them?
Untitled.png
x1 = X(X<a & Y>b);
y1 = Y(X<a & Y>b);
x2 = X(X>a);
y2 = Y(X>a);
x1 = X(X<a & Y<b);
y1 = Y(X<a & Y<b);

Iniciar sesión para comentar.


Giulia Mazzucchelli
Giulia Mazzucchelli el 11 de Mzo. de 2019
Hi, yes I did.
First the user select the point in the STL image (ginput), then I selected the area near the point through a function called findNeighborsInRadius (the name is pretty self explanatory) and finally I used the function pcfitsphere.
I suggest you to check Computer Vision Toolbox System

Community Treasure Hunt

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

Start Hunting!

Translated by