Length of the curve in the image
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mustafa alnasser
le 2 Fév 2014
Réponse apportée : Hogan
le 28 Avr 2023
Dear All;
I have curve with random shape , i want to measure it length in the image , is there any way to do it
0 commentaires
Réponse acceptée
Walter Roberson
le 2 Fév 2014
http://www.mathworks.com/help/images/ref/bwdistgeodesic.html Let the mask be true only at the "end" of the curve, seed only at the "beginning" of the curve, BW is the curve, then the geodesic would be the shortest "distance" through the curve to get to the end.
http://www.mathworks.com/help/images/ref/bwtraceboundary.html and take number of rows in returned matrix
0 commentaires
Plus de réponses (1)
Hogan
le 28 Avr 2023
Find the lenght of the curve: x=sint-tcost, y=cost+tsint, 0≤t≤π/2
0 commentaires
Voir également
Catégories
En savoir plus sur Denoising and Compression 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!