[MINC-users] Modify frame times in mincheader

Vladimir S. FONOV vladimir.fonov at gmail.com
Mon Sep 12 17:52:48 EDT 2016


Hello,

I think the only possibility right now is to use mincedit. Because time 
is actually not an attribute, but rather a dataset.


On 2016-09-12 05:42 PM, Thomas Funck, Mr wrote:
> Hi,
>
>
> I would like to modify the time frames for a MINC image, but am not sure how. At the moment, the frame times are:
>
>
> mincheader pet.mnc | grep "time ="
>
> time = 6 ;
>
> time = 0, 1, 2, 3, 4, 5 ;
>
>
>
> I tried several variations using minc_modify_header, but I wasn't able to overwrite the original time frames with the new ones I specified in the command line. For example:
>
>
> minc_modify_header -sinsert data:time=2,4,6,8,10,12 pet.mnc
>
>
> mincheader ADNI_0295_FDG_pet.mnc | grep "time ="
> time = 6 ;
> data:time = "2,4,6,8,10,12" ;
>  time = 0, 1, 2, 3, 4, 5 ;
>
>
> Any ideas on how to modify the frame time values in the header?
>
> Thanks,
>
> Thomas
>
>
>
>
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


-- 
Best regards,

  Vladimir S. FONOV ~ vladimir.fonov <at> gmail.com


More information about the MINC-users mailing list