How to determine the 3D points if the ray intersects the the voxel that is perpendicular to Y axis?
2 ビュー (過去 30 日間)
古いコメントを表示
Here the line AB is intersecting the voxel perpendicularly on the Y-axis. How can I determine all the three points (3D poins) x.y.z in this manner? Thanks in advance.
1 件のコメント
Matt J
2022 年 1 月 6 日
determine all the three points
Why 3 points? I see only 2 points (one entry point and one exit point), as you would expect for any convex shape.
回答 (1 件)
Matt J
2022 年 1 月 6 日
編集済み: Matt J
2022 年 1 月 6 日
You can find ray/box intersections using intersectionHull in this File Exchange package
However, if you are doing this for the purpose of tomographic forward projection, your only hope for fast speed is to use an optimized projector library, e.g.,
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Computational Geometry についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!