Filter löschen
Filter löschen

How can I see the actual size of MRI slice?

1 Ansicht (letzte 30 Tage)
Tomislav
Tomislav am 5 Nov. 2012
Or any other picture.
In my axis (showing the MRI) the xmax and ymax are the number of pixels the image have.
Can I get the actual size of image in milimeters from metadata?
How can I set that axis so the y and x scales are shown in mm or inches?
Thanks.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 5 Nov. 2012
When you image() or imagesc(), you can tell it the data coordinates at which to put the centers of the lower-left and upper-right pixels. Do be careful though because it is the center, not the edges.
  15 Kommentare
Walter Roberson
Walter Roberson am 7 Nov. 2012
info.PixelSpacing
Tomislav
Tomislav am 7 Nov. 2012
Thank you. It seems that spacing is exactly 1 mm from pixel to pixel. That was confusing.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Biomedical Imaging finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by