フィルターのクリア

Length of the curve in the image

3 ビュー (過去 30 日間)
mustafa alnasser
mustafa alnasser 2014 年 2 月 2 日
回答済み: Hogan 2023 年 4 月 28 日
Dear All;
I have curve with random shape , i want to measure it length in the image , is there any way to do it

採用された回答

Walter Roberson
Walter Roberson 2014 年 2 月 2 日
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

その他の回答 (1 件)

Hogan
Hogan 2023 年 4 月 28 日
Find the lenght of the curve: x=sint-tcost, y=cost+tsint, 0≤t≤π/2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by