can i use mri_convert to resample a 4-d nifti volume? currently it appears to write out just one frame.
cmdline used:
mri_convert -vs 2 2 2 r234000-20-1_warped.nii r234000-20-1_warped_fsresample.nii
the input volume has 51 timepoints the output vol has 1.
would you recommend another, more appropriate function?
cheers,
satra
Satra,
This is an oversite in the mri_convert code. For the -vs portion, its not looping on the frames. I've fixed this. Can you tell me your platform? I can post a new mri_convert on the site.
Nick
On Fri, 2009-10-02 at 13:48 -0400, Satrajit Ghosh wrote:
can i use mri_convert to resample a 4-d nifti volume? currently it appears to write out just one frame.
cmdline used:
mri_convert -vs 2 2 2 r234000-20-1_warped.nii r234000-20-1_warped_fsresample.nii
the input volume has 51 timepoints the output vol has 1.
would you recommend another, more appropriate function?
cheers,
satra
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
You can use --frame to extract a certain frame. Other frame ops are --ndrop, --nskip, and --fsubample
doug
Satrajit Ghosh wrote:
can i use mri_convert to resample a 4-d nifti volume? currently it appears to write out just one frame.
cmdline used:
mri_convert -vs 2 2 2 r234000-20-1_warped.nii r234000-20-1_warped_fsresample.nii
the input volume has 51 timepoints the output vol has 1.
would you recommend another, more appropriate function?
cheers,
satra
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu