Can matlab display (plot3, surf, slice, etc...) with dicom LPR convention?

If patient is in supine position (face up), feet first, the dicom coordinate is LPS, X+ is to the left, Y+ points down and Z+ to us.
The view angle can be changed but it's hard to let Y+ to point down and Z+ to point out.

 Accepted Answer

Would that possibly be
set(gca, 'XDir', 'reverse', 'YDir', 'reverse')

3 Comments

Can the data to be drawn to swap Y and Z without permuting the data set?
In theory, Yes. You could parent the graphic to an hgtransform that permuted the coordinates. But the axis labels (xlabel, ylabel, zlabel) would not get permuted.
I wonder if this kind of swap could be done by changing the camera position or camera target? https://www.mathworks.com/help/matlab/ref/campos.html

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!