How can I load and view medical image .mha ?

20 views (last 30 days)
Hi,
I would like to read a medical image with extension .mha and store it in variable I. And then view I using imshow.
I need the simplest code source possible to start working on. Thank you
ps:I am using Matlab 2009 under Mac OS X 10.6.8.

Accepted Answer

Makrim
Makrim on 26 Mar 2014
Read Medical Data 3D by Dirk-Jan Kroon 10 Nov 2010, worked for me.
  7 Comments
kitty varghese
kitty varghese on 19 Feb 2018
I'm using this file exchange to read my database, I'm using MATLAB Version: 9.0.0.341360 (R2016a). When I give the input
if true
[V,info]=ReadData3D('Normal001-DTI.mha');
end
I get the error Undefined function or variable 'ReadData3D'.
Walter Roberson
Walter Roberson on 19 Feb 2018
https://www.mathworks.com/matlabcentral/fileexchange/29344-read-medical-data-3d is not installed or it is not on your MATLAB path

Sign in to comment.

More Answers (1)

hamed abdulaziz
hamed abdulaziz on 22 Mar 2014
  1 Comment
Makrim
Makrim on 26 Mar 2014
Thank you for your answer , I will check it to adapt it to my needs ...

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!