3D Matrices projections

3 views (last 30 days)
adil alazzawi
adil alazzawi on 26 Jul 2020
Commented: Walter Roberson on 27 Jul 2020
Hi everyone, I have a 3D metrics and I want to project it to different directions let's say along x, y, z, and different diagonal (0-360) angles, any suggestions pleases
  2 Comments
Walter Roberson
Walter Roberson on 26 Jul 2020
What form of projection are you interested in? For example do you want maximum intensity along an angle?
adil alazzawi
adil alazzawi on 26 Jul 2020
Thanks for your response, I want to average them

Sign in to comment.

Answers (2)

Matt J
Matt J on 27 Jul 2020
Edited: Matt J on 27 Jul 2020
  1 Comment
Walter Roberson
Walter Roberson on 27 Jul 2020
Though that only gives indices of locations that the line interesect, and does not give any information usable for weighting.
It looks like there are a fair number of methods available; https://pdfs.semanticscholar.org/c841/d03ccd8098e3fa1b2a82244e1b8eaff1e567.pdf

Sign in to comment.


Matt J
Matt J on 27 Jul 2020
Edited: Matt J on 27 Jul 2020
You could also use rotation to align the projection rays with an axis of the image and then use mean(). For example, to take the mean along rays 30 degrees to the columns,
mean(imrotate(yourVolume,30),1)
For rays not parallel to the xy-plane you could use imrotate3 in a similar fashion.
  1 Comment
Walter Roberson
Walter Roberson on 27 Jul 2020
Note that the rotation angle is generally the negative of what you would think, to move the data with that angle to be aligned with the axes.

Sign in to comment.

Categories

Find more on Computational Geometry in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!