[MINC-users] mincreshape +xdirection not robust

Audette, Michel Michel.Audette at medizin.uni-leipzig.de
Tue Apr 29 11:00:18 EDT 2008


Hi Soren, 

thanks for the kind email. Apparently it is. Vladimir just sent me the answer. 

Cheers,

Michel


-----Original Message-----
From: minc-users-bounces at bic.mni.mcgill.ca on behalf of Soren Christensen
Sent: Tue 4/29/2008 4:54 PM
To: MINC users mailing list
Subject: Re: [MINC-users] mincreshape +xdirection not robust
 
Hi,
 Isn't this fixable by
mincreshape +direction
-dimsize xspace=-1
-dimsize yspace=-1
-dimsize zspace=-1
-dimorder zspace,yspace,xspace
infile.mnc outfile.mnc
as stated here.
http://brainbody.nottingham.ac.uk/users/wiki/pmwiki.php?n=MincUsersGroup.FAQDataFormats
I think Andrew had an explanation for it.

Cheers
Soren


2008/4/29 Audette, Michel <Michel.Audette at medizin.uni-leipzig.de>:

> Hi Claude,
>
> thanks for the tip but...
>
> maudette at icaw164201:~/data/data/work/goodEarData> mincreshape +direction
> etzold_emma_12792115_003002_mri_xyz_flt_2.mnc
> etzold_emma_12792115_003002_mri_+xyz_flt_2.mnc -clob -dimorder
> zspace,yspace,xspace
> Copying chunks:...................................Done.
> maudette at icaw164201:~/data/data/work/goodEarData> !mincin
> mincinfo etzold_emma_12792115_003002_mri_+xyz_flt_2.mnc
> file: etzold_emma_12792115_003002_mri_+xyz_flt_2.mnc
> image: signed__ float -3.8880898500792682171e-11 to 4019
> image dimensions: zspace yspace xspace
>    dimension name         length         step        start
>    --------------         ------         ----        -----
>    zspace                    129     0.299075     -67.2154
>    yspace                    512     0.195312      93.2894
>    xspace                    512    -0.195312      26.8047
>
> My best recourse appears to be to opt for mincresample and figure out the
> new start point.
>
> maudette at icaw164201:~/data/data/work/goodEarData> mincresample -xstart
> -72.999732 -xstep 0.195312 -ystart 93.2894 -ystep 0.195312
> etzold_emma_12792115_003002_mri_xyz_flt_2.mnc
> etzold_emma_12792115_003002_mri_+xyz_flt_2.mnc -clob
> T
> maudette at icaw164201:~/data/data/work/goodEarData> mincinfo
> etzold_emma_12792115_003002_mri_+xyz_flt_2.mnc
> file: etzold_emma_12792115_003002_mri_+xyz_flt_2.mnc
> image: signed__ float -5.8522943435779239962e-12 to 4018.716796875
> image dimensions: xspace yspace zspace
>    dimension name         length         step        start
>    --------------         ------         ----        -----
>    xspace                    512     0.195312     -72.9997
>    yspace                    512     0.195312      93.2894
>    zspace                    129     0.299075     -67.2154
>
> Sorry for the trouble. This bug is really odd, though.
>
> Cheers,
>
> Michel
>  -----Original Message-----
> From: minc-users-bounces at bic.mni.mcgill.ca on behalf of Claude LEPAGE
> Sent: Tue 4/29/2008 4:28 PM
> To: MINC users mailing list
> Subject: Re: [MINC-users] mincreshape +xdirection not robust
>
> > is there a way to enforce a mincreshape +direction command? For some
> reason, my attempt reveals that it is not robust.
> >
> > maudette at icaw164201:~/data/data/work/goodEarData> mincreshape +direction
> etzold_emma_12792115_003002_mri_xyz_flt_2.mnc
> etzold_emma_12792115_003002_mri_+xyz_flt_2.mnc -clob
>
>
> -dimorder zspace,yspace,xspace
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
>
_______________________________________________
MINC-users at bic.mni.mcgill.ca
http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users



More information about the MINC-users mailing list