How to determine the 3D points if the ray intersects the the voxel that is perpendicular to Y axis?

2 visualizzazioni (ultimi 30 giorni)
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 Commento
Matt J
Matt J il 6 Gen 2022
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.

Accedi per commentare.

Risposte (1)

Matt J
Matt J il 6 Gen 2022
Modificato: Matt J il 6 Gen 2022
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.,

Categorie

Scopri di più su Computational Geometry 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!

Translated by