matlab coding required help for the below file

1 次查看(过去 30 天)
i need to open a matlab file named as1.mat . i need to open and see the images of brain tumor. can some one help me with the coding on how to open and see the images the file is in the given below link .
the file is in the above link. i need to see the images. can some one help me with the code

回答(1 个)

Rishik Ramena
Rishik Ramena 2020-12-3
load('1.mat'); %load the mat file which contains a structure with many fields as mentioned in the readme file.
imshow(cjdata.image); %display the image
  1 个评论
Rik
Rik 2020-12-3
Or even better: load to a variable so it is obvious where every variable is coming from.
S=load('1.mat');
imshow(S.cjdata.image); %display the image

请先登录,再进行评论。

类别

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