[MINC-users] mincreshape +xdirection not robust
Audette, Michel
Michel.Audette at medizin.uni-leipzig.de
Tue Apr 29 10:40:18 EDT 2008
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
More information about the MINC-users
mailing list