STL file Find center sphere

조회 수: 2 (최근 30일)
Giulia Mazzucchelli
Giulia Mazzucchelli 2018년 2월 12일
답변: Giulia Mazzucchelli 2019년 3월 11일
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

답변 (2개)

Alexandr Litvin
Alexandr Litvin 2019년 3월 11일
Hi, I am solving a similar problem. Did you find the coordinates of the sphere in the STL image?
  댓글 수: 1
darova
darova 2019년 3월 11일
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);

댓글을 달려면 로그인하십시오.


Giulia Mazzucchelli
Giulia Mazzucchelli 2019년 3월 11일
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

카테고리

Help CenterFile Exchange에서 STL (STereoLithography)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by