![11Untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/235263/11Untitled.png)
Detection of 3D blobs with flat surfaces
3 ビュー (過去 30 日間)
古いコメントを表示
I have a 3D gray-scale array that represents a bag with several objects inside. I need to find (segment) any object with flat surface/s in the bag. Knowing the approximate intensity range of these objects, I binarized the volume, and removed objects with volumes below a threshold.
The result was getting some of those objects as individual blobs and some attached to nearby objects.
Now, I would like to detect blobs with flat surfaces. Any suggestion?
2 件のコメント
採用された回答
Image Analyst
2019 年 8 月 26 日
編集済み: Image Analyst
2019 年 8 月 26 日
Try convhulln() and extract any blob that has points on the convex hull.
4 件のコメント
Roohollah Milimonfared
2019 年 8 月 26 日
編集済み: Roohollah Milimonfared
2019 年 8 月 26 日
Roohollah Milimonfared
2019 年 8 月 26 日
編集済み: Roohollah Milimonfared
2019 年 8 月 26 日
その他の回答 (1 件)
darova
2019 年 8 月 26 日
What about boundary()?
![BoundaryOf3DPointCloudExample_02.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/235307/BoundaryOf3DPointCloudExample_02.png)
Once you have boundary faces: find all neighbour faces for each node
If angles between surfaces is about zero then we have a flat face
![12Untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/235308/12Untitled.png)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!