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.

 Réponse acceptée

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

3 commentaires

Can the data to be drawn to swap Y and Z without permuting the data set?
Walter Roberson
Walter Roberson le 1 Déc 2016
Modifié(e) : Walter Roberson le 1 Déc 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.
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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur DICOM Format dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by