[MINC-users] Usage: minc_modify_header

Andrew Janke a.janke at gmail.com
Mon Dec 11 22:33:18 EST 2006


Hi Kent,

I can't remember as to whether there was a reply here, in any case here goes:

Unfortunately adjusting a dimensions length is about the only thing
you can't change with minc_modify_header as would change the image
size.

to change a files step in x to 1.2mm for example (which is ok!)

   minc_modify_header -dinsert xspace:step=1.2  input.mnc

to change a files size/length you will need to use mincreshape

   mincreshape -dimrange time=0,720 input.mnc output.mnc


a

On 11/16/06, conover <kent.conover at concordia.ca> wrote:
>         I would greatly appreciate it if some one would give me an example
> of how to specify the argument for the "minc_modify_header" routine.
> All I want to do is change the value for the length of the time
> dimension, but I am not sure of the variable and attribute names, or
> the exact syntax.
>
> Here is the command that I submit:
>
>  >minc_modify_header -dinsert time:length=720  minc_file_name
>
> Here is the response from the routine:
>
> -dinsert option requires argument <var>:<attr>=<val>
>
> Suggestions?
>
>
> Regards,
>
> -Kent
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


-- 
Andrew Janke   (a.janke at gmail.com || http://a.janke.googlepages.com/)
Canada->Montreal                                   Cell: +1 (514) 924 2012


More information about the MINC-users mailing list