Find the surface area of an object using stereo vision.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I want to find out the surface area of tree (only green part) using stereo vision. I know stereo vision and using the same I got the (X,Y,Z) values of tree, (of course one side only) (file is attached). I used delaunay function to calculate area but the problem is that I have some negative values of X and Y which cause error in surface area. How I can get the correct value of surface area using stereo vision?
It will be good if I can calculate volume also.
Thank You.
4 commentaires
Adam Danz
le 7 Jan 2020
Modifié(e) : Adam Danz
le 7 Jan 2020
"Say for example I have A = [-2,-7,0.5,14,3] by doing offset It should be convert into B ="[0,0,2.5,21,3,]. "
Why would A be converted to that? A would be offset by it's minimum value which is -7.
A = [-2,-7,0.5,14,3]
A = A - min(A)
A =
5 0 7.5 21 10
For C
C = [-1,-9,-5,14,3]
C - min(C)
ans =
8 0 4 23 12
Note that even if A or C do not have negative values, applying the same proceedure (A - min(A)) does not affect the area.
Réponses (1)
KSSV
le 7 Jan 2020
After using delaunayTriangulation, you have vertices and nodal connectivity in hand. Then you can use this function to get the area of each triangular element........sum the total areas, you will get the total sutgace area.
Have a look on function triarea from the package.
4 commentaires
KSSV
le 7 Jan 2020
The order of the vertices is important..maybe your messing with that. Did you try with triarea?
Voir également
Catégories
En savoir plus sur MATLAB Support Package for USB Webcams dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!