matlab coding required help for the below file

조회 수: 1 (최근 30일)
NIJU MATHEW
NIJU MATHEW 2020년 12월 3일
댓글: Rik 2020년 12월 3일
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