[MINC-users] dcm2mnc and (ir)regular spacing?

Andrew Janke a.janke at gmail.com
Sun Jan 8 20:21:45 EST 2012


>> This is my method:
>>
>>   minc_modify_header -sinsert zspace:spacing="regular_" <file.mnc>
>
> Well that sets the zspace:spacing attribute; but if the header still contains an explicit list of coordinates, then those wil be used by things like mincresample. Here is the whole MINC volume:
>
> test.mnc (http://cl.ly/2h1h1O1i3G0H0S1i0w1k)
>
> Try to resample this like like so:
>
> mincresample -zstep 5 test.mnc test_z5.mnc

And this is because I am a goose and said "regular_" instead of
"regular__".  (two underscores needed!).

   minc_modify_header -sinsert zspace:spacing="regular__" <file.mnc>


a


More information about the MINC-users mailing list