[Insight-users] alternative MINC1/2 interface

Vladimir FONOV vladimir.fonov at gmail.com
Fri Jun 5 16:14:13 EDT 2009


Hello All,


we have developed an alternative (to the one currently included in ITK 
distribution) interface for reading and writing files in MINC1 and MINC2 
format. The main difference with the existent code is following:

1. MINC1 API is used ( compatible with both MINC1 and MINC2 file format)
2. 4D ( DTI, vector fields) are handled properly
3. Information from the minc header is stored in metadata
4. there is a limited support for the XFM files ( files describing the 
deformations).

The current version of the source code:

http://www.bic.mni.mcgill.ca/~vfonov/software/ezminc_r29.tar.gz

It is using CMake for compilation, so far it was tested only on Linux.

Building instructions:

unpack the archive, and run ccmake to configure it, set the ITK_DIR to 
the directory where you compiled the ITK, MINC_ROOT to the path where 
minc libraries are installed (standard path on Debian/Ubuntu is 
/usr/local/bic ). Set USE_MINC2 to ON if you have minc2 libraries, 
otherwise leave OFF.

You also have to have netcdf library installed for minc1 and HDF5 
version 1.6.x for minc2.

For examples see the examples directory. By default the library will 
create files in MINC1 format, if it is not desirable you can set the 
Environment variable MINC_FORCE_V2 to 1  ( i.e export MINC_FORCE_V2=1) , 
to enable MINC2 internal compression set MINC_COMPRESS to compression 
level (i.e  export MINC_COMPRESS=4 ).

P.S. The latest version of the minc library is available at
http://packages.bic.mni.mcgill.ca/tgz/minc-2.0.18.tar.gz

Binary installation packages for Ubuntu:
http://packages.bic.mni.mcgill.ca/ubuntu-jaunty/ for Ubuntu 9.04 32bit 
and 64bit of

http://packages.bic.mni.mcgill.ca/ubuntu-intrepid/ for Ubuntu 8.10 32bit 
and 64bit

http://packages.bic.mni.mcgill.ca/ubuntu-hardy/ for Ubuntu 8.04 32bit 
and 64bit

-- 
Best regards,
  Vladimir S. Fonov ~ vladimir dot fonov at gmail dot com


More information about the Insight-users mailing list