필터 지우기
필터 지우기

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 CenterFile Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by