How to view images from .mha and .mat file format?

5 ビュー (過去 30 日間)
Melaku Eneayehu
Melaku Eneayehu 2017 年 11 月 13 日
コメント済み: Mamoona Nisar 2019 年 2 月 19 日
i download brain tumor data set from https://figshare.com/articles/brain_tumor_dataset/1512427 in .mat file format and from BRATS 2015 in .mha file format, but because am new to MATLAB i can't able to see the images, can anyone help me?
thank you

回答 (2 件)

Walter Roberson
Walter Roberson 2017 年 11 月 13 日
  5 件のコメント
Walter Roberson
Walter Roberson 2017 年 11 月 14 日
Do not put the word "function" at that location.
You need to go to https://www.mathworks.com/matlabcentral/fileexchange/29344-read-medical-data-3d and click on the download link. Unzip the file into any convenient directory that is not underneath your MATLAB installation directory. Use the MATLAB pathtool command to add that directory to the MATLAB path. After that you can invoke,
data = mhd_read_image('VSD.Brain.XX.O.MR_Flair.54193.mha')
Jan
Jan 2018 年 6 月 6 日
編集済み: Jan 2018 年 6 月 6 日
[MOVED from flags] FAZLI HADI wrote:
sir, what meant by matlab pathtool command?
@FAZLI HADI: Please use flags only to inform admins and editors about inappropriate content like spam or rudeness. Thanks.
Did you try it? Simply type
pathtool
in the command window and press Enter.

サインインしてコメントする。


Bharathi Shree
Bharathi Shree 2019 年 2 月 13 日
sir i too download brain tumor data set from https://figshare.com/articles/brain_tumor_dataset/1512427 in .mat file format.
I have view the image but image given is in unit 16 i need image in unit8(gray scale) so that i can process dataset images.
thank you.
  2 件のコメント
Walter Roberson
Walter Roberson 2019 年 2 月 13 日
read the image and use im2uint8 to convert it .
Mamoona Nisar
Mamoona Nisar 2019 年 2 月 19 日
Hi @Bharathi Shree ,what other processing you have done on this data. I m facing some difficulties .can we discuss on any other channel please ?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by