How to save .mha file in .jpg .png format ???

8 views (last 30 days)
Hello !! I am Working on brain tumor detection and my dataset is Brats 2015 which is in .mha format i want to save that in .jpg .How can i do this .?? Need help urgently . Thanks in advance!!
  3 Comments
Maham Khan
Maham Khan on 26 Sep 2018
No i Actually used 3D Slicer for this purpose.uploaded the whole volume and then saved the desired slice as .png
ILIASS BENDIDIA
ILIASS BENDIDIA on 18 Apr 2020
Maham Khan How did you use it to convert ..! I haven't found any tuto or documention that explain how to use it
may you help me..!

Sign in to comment.

Accepted Answer

Varun Garg
Varun Garg on 5 Jun 2018
Edited: Varun Garg on 5 Jun 2018
One way is to use VV . It is an open-source and cross platform image viewer. I would suggest using vv to open the image and save it to the requisite format.
Other way is to (In case MATLAB is required)
(i) Use the MITK visualization software to convert from .mha to .raw
(ii) Use the following Matlab toolbox to read the .raw
PS. I have tested neither of them. I am just suggesting untested workarounds.
  9 Comments
mohamed wageh
mohamed wageh on 23 Sep 2018
Hi @Maham Khan! Can you please tell me how do you convert mha file to png format? How do you download the software and use it?
Walter Roberson
Walter Roberson on 23 Sep 2018
Linux and MS Windows binaries are available at that page. Source code is available through a github link on that page.

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 11 Jun 2018
  2 Comments
FAZLI  HADI
FAZLI HADI on 11 Jun 2018
Yes I have tried it but it is not working. I tried the open source source software of vv and MITK but it is also not working. But Maham says that she had tried some software which is working for her so I want that software name.
Walter Roberson
Walter Roberson on 11 Jun 2018
What happened when you tried to use the File Exchange contributions?

Sign in to comment.

Categories

Find more on Install Products in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!