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 Center および File ExchangeSTL (STereoLithography) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by