[MINC-users] EMMA tools for Cygwin

Andrew Janke a.janke at gmail.com
Wed Jul 25 17:55:05 EDT 2012


Hi Paul,

> ##################################################
> ??? Error using ==> niak_read_hdr_minc at 96
> niak:read: Could not parse the minc header !
>
> Error in ==> niak_read_minc at 70
> hdr = niak_read_hdr_minc(file_name);
> ##################################################


> Could this be a result of how it was compiled, and thus cause the error
> explained above? And if so, is there another version of mincheader that
> could solve this problem?
>
> I am using the following MINC tools package:
> http://packages.bic.mni.mcgill.ca/cygwin/mni-2006-11-15.tar.gz

>From these two bits of information I have two guesses as to what is up.

1. It's a MINC 2 files (HDF) and I'll bet that my old 2006 build of
minc on cygwin isn't a MINC2 build.  What does this return?:

   $ file qfal_003_0_pet_fr1_32_sm9mm_VoWal_basFunc_k2.mnc

2. You are using a 64 bit install of windows and the old cygwin build
will be 32 bit.

Both of these things mean that you are going to have to recompile the
MINC tools on cygwin for your machine. I haven't done this in a while
as I find it a lot easier to simply use the neurodebian VM on windows
machines.


a


More information about the MINC-users mailing list