Can matlab display (plot3, surf, slice, etc...) with dicom LPR convention?
1 view (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Walter Roberson
on 1 Dec 2016
Would that possibly be
set(gca, 'XDir', 'reverse', 'YDir', 'reverse')
3 Comments
Walter Roberson
on 1 Dec 2016
Edited: Walter Roberson
on 1 Dec 2016
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.
Walter Roberson
on 2 Dec 2016
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
More Answers (0)
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!