Projected curve lengths (XY,XZ,YZ) of 3D arcs

1 回表示 (過去 30 日間)
Hege
Hege 2022 年 6 月 7 日
コメント済み: Torsten 2022 年 6 月 30 日
Hello All,
I have a set of 3D curves as shown in attached image which was was extracted from X-ray Micro-CT system. I know the 3D curve length of each arcs by voxels. Also, using regionprops3 command, I found the coordinates of end points of each curve.
I would like to know the projected curve length of each curve in all three different planes (x-y,x-z,y-z).
Appreciate your comments.
  6 件のコメント
Hege
Hege 2022 年 6 月 30 日
Dear Sir,
I am happy with your answer. but there is no 'ICON' accept the answer. Pls advice.
Torsten
Torsten 2022 年 6 月 30 日
I changed my comment to an answer.
Thanks for your feedback.

サインインしてコメントする。

採用された回答

Torsten
Torsten 2022 年 6 月 30 日
Then just set the coordinate of the plane you project on to 0 and calculate the arc length of the resulting projected curve.
An approximation for an XY-projected curve is e.g.
sum_{i=1}^{i=n-1} sqrt((x(i+1)-x(i))^2 + (y(i+1)-y(i))^2)
if it is represented in 3d by the points
P1 = (x1,y1,z1), P2=(x2,y2,z2),..., Pn = (xn,yn,zn)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBiological and Health Sciences についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by