[MINC-users] ana2mnc problem

Andrew Janke andrew_janke@iinet.net.au
Wed Dec 8 18:40:06 2004


On Wed, 8 Dec 2004, Catherine Ogilvie wrote:

> Hi. I'm trying to use ana2mnc for the first time. I have had a .img and .hdr
> pair sent to me from another lab which uses analyze. When I run ana2mnc I get
> this:
>
> ana2mnc: sizeof header: 1543569408
> ana2mnc: Hrm, attempting byte-swapping on ANATcw.24_02_03_2.fid_001.hdr
> ana2mnc: No x origin info found, guessing..
> ana2mnc: No y origin info found, guessing..
> ana2mnc: No z origin info found, guessing..
>
> and a very strangely pixelated output.

I'm guessing that when you tranferred the data, the header was byte swapped and 
the data wasn't.

Try this version of ana2mnc

    http://www.bic.mni.mcgill.ca/~rotor/distro/ana2mnc-1.3c

using the -swap_data option.

If this works, I'll add this feature into the next release of ana2mnc


--
Andrew Janke (andrew_janke@iinet.net DOT au || www.cmr.uq.edu.au/~rotor) 
Australia->Brisbane            H: +61 7 3390 6332  || M: +61 4 2138 8581