![11Untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/235263/11Untitled.png)
Detection of 3D blobs with flat surfaces
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Roohollah Milimonfared
le 25 Août 2019
Réponse apportée : darova
le 26 Août 2019
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 commentaires
Réponse acceptée
Image Analyst
le 26 Août 2019
Modifié(e) : Image Analyst
le 26 Août 2019
Try convhulln() and extract any blob that has points on the convex hull.
4 commentaires
Roohollah Milimonfared
le 26 Août 2019
Modifié(e) : Roohollah Milimonfared
le 26 Août 2019
Roohollah Milimonfared
le 26 Août 2019
Modifié(e) : Roohollah Milimonfared
le 26 Août 2019
Plus de réponses (1)
darova
le 26 Août 2019
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 commentaires
Voir également
Catégories
En savoir plus sur Bounding Regions dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!