[MINC-users] Modify frame times in mincheader

Thomas Funck, Mr thomas.funck at mail.mcgill.ca
Mon Sep 12 17:42:14 EDT 2016


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







More information about the MINC-users mailing list