MATLAB Answers

Nagaraj H
0

How to read, display and process .mha files in MATLAB?

Asked by Nagaraj H
on 20 Sep 2013
Latest activity Commented on by Walter Roberson
on 4 Oct 2015

I am having BRATS database of brain MR images with tumor in .mha format. How to read, display and process .mha files in MATLAB?

  0 Comments

Tags

Products

No products are associated with this question.

1 Answer

Answer by Muhammad Imran
on 4 Oct 2015
Edited by Walter Roberson
on 4 Oct 2015

function data = mhd_read_image(filename)
info = mha_read_header(filename);
data = mha_read_volume(info);

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!