フィルターのクリア

How can I see the actual size of MRI slice?

1 回表示 (過去 30 日間)
Tomislav
Tomislav 2012 年 11 月 5 日
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.

採用された回答

Walter Roberson
Walter Roberson 2012 年 11 月 5 日
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 件のコメント
Walter Roberson
Walter Roberson 2012 年 11 月 7 日
info.PixelSpacing
Tomislav
Tomislav 2012 年 11 月 7 日
Thank you. It seems that spacing is exactly 1 mm from pixel to pixel. That was confusing.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBiomedical Imaging についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by