[MINC-development] weird minc 2 bug

Leila Baghdadi baghdadi at sickkids.ca
Wed Jun 7 13:05:07 EDT 2006


Jonathan,

I am actually in the process of building a new minc distribution. 

I will see if I can fix this bug.

Thanks for reporting it.

Leila


On Wed, 2006-07-06 at 12:48 -0400, Jonathan HARLAP wrote:
> Here's a neat one:
> 
> Take a CDF file, run it through mincconvert -2 to get the corresponding 
> HDF file.  Now open both file in register (or just use 
> mincinfo/mincheader).  You'll see that the dimension order is, as it 
> should be, identical.
> 
> Now, the fun part.  Run mincinfo -dimnames on the two files, and observe 
> the different dimension order.
> 
> This fun bug is great in that it's a subtle little glitch in mincinfo, 
> but affects many little programs, such as mni-perllib's 
> MNI::MincUtilities::get_dimension_order()
> 
> Example output below.
> 
> Cheers,
> J
> 
> 
> % mincinfo  m?.mnc
> file: m1.mnc
> image: signed__ short 0 to 4095
> image dimensions: xspace zspace yspace
>      dimension name         length         step        start
>      --------------         ------         ----        -----
>      xspace                    124          1.4        -86.8
>      zspace                    256     -1.01562      118.492
>      yspace                    256     -1.01562      130.992
> 
> 
> file: m2.mnc
> image: signed__ short 0 to 4095
> image dimensions: xspace zspace yspace
>      dimension name         length         step        start
>      --------------         ------         ----        -----
>      xspace                    124          1.4        -86.8
>      zspace                    256     -1.01562      118.492
>      yspace                    256     -1.01562      130.992
> 
> 
> % mincinfo -dimnames m?.mnc
> xspace zspace yspace
> 
> 
> xspace yspace zspace
> 
> 
> 
> _______________________________________________
> MINC-development mailing list
> MINC-development at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development



More information about the MINC-development mailing list