matlab coding required help for the below file

1 Ansicht (letzte 30 Tage)
NIJU MATHEW
NIJU MATHEW am 3 Dez. 2020
Kommentiert: Rik am 3 Dez. 2020
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

Antworten (1)

Rishik Ramena
Rishik Ramena am 3 Dez. 2020
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 Kommentar
Rik
Rik am 3 Dez. 2020
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Biomedical Imaging finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by