Length of the curve in the image
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
mustafa alnasser
il 2 Feb 2014
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 Commenti
Risposta accettata
Walter Roberson
il 2 Feb 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 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Denoising and Compression in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!