Code covered by the BSD License  

Highlights from
loadminc

5.0
5.0 | 1 rating Rate this file 35 Downloads (last 30 days) File Size: 2.03 KB File ID: #32644 Version: 1.0

loadminc

by

Laszlo Balkay (view profile)

 

Read minc format medical image file.

| Watch this File

File Information
Description

This function read the minc format input file. The minc file format was introduced by NMI (http://www.bic.mni.mcgill.ca/ServicesSoftware/MINC). m file use the netcdf MATLAB utility. The loadminc function requires the netcdf matlab library.

Application of the function:

[imaVOL,scaninfo] = loadminc(filename)

or

[imaVOL,scaninfo] = loadminc;
% in that case the file selection popup window will be appeard to pick up a file

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
12 Aug 2015 LBailey

This was working great until a few days ago. Although I haven't changed the files or the code, a few of the files now fail to load. It is likely a netcdf issue (Error message from the NetCDF library: "NetCDF: Numeric conversion not representable"), but I have no idea why it's failing.

Comment only
29 Jul 2015 Laszlo Balkay

Laszlo Balkay (view profile)

Comment to Eva Dyer: Could you send me the minc file via email which cause this problem? (balkay@pet.dote.hu)
Laszlo

Comment only
28 Jul 2015 Eva Dyer

Hello,

I am having difficulties using this function (and your Mia GUI which relies on this function).

I get the following error
"The NetCDF library encountered an error during execution of 'open' function - 'Can't open HDF5 attribute
(NC_EATTMETA)'."

Do you have any suggestions?

Thanks in advance!

Comment only
06 Jun 2015 Sayan Kahali

I have tried but I was unable to save the image slices in a folder from the volume. Can any one help me in this context..

Thanks in advance...

Comment only
28 Apr 2015 Laszlo Balkay

Laszlo Balkay (view profile)

Comment to Nitesh. One way to check the images would be:
for i=1:size(imaVOL,3); imagesc(imaVOL(:,:,i)); pause;end

Comment only
27 Apr 2015 NItesh arora

it is really helpful,can anybody tell me how we can view image through this

Comment only
10 May 2012 Matthias

Well done!

Comment only
04 Oct 2011 Lili

Lili (view profile)

Excellent work! Thanks!!!

Contact us