I would suggest adding the following code to mha_read_volume.m, near line 77, if working with vector data:
V = reshape(V,[info.Dimensions,str2double(info.ElementNumberOfChannels)]);
V = reshape(V,info.Dimensions);
01 Sep 2013
Read Medical Data 3D
GUI to open most Medical file-formats: Dicom, V3D, ISI, NifTI, Analyze and other formats
I like this piece of tool. However, is it possible to take out the GUI? I have like 500 files need to be loaded and processed, and written the processed data back to the drive.
It takes about 30mins to finish one volume. I want everything to be automated so that my computer can work over weekend.