Hi,
I am using freesurfer to process subjects with WM lesions. My data is axial and my lesion masks are in this space. I wanted to use the lesion mask to correct wm.mgz to improve the cortical surfaces. to perform this I tried to use
mri_convert lesion.mgz lesion_FS_spance.mgz --conform
It takes the lesion mask to the desired space, however it used linear interpolation, I need nearest neighbor interpolation. I could not find a flag for specifying the interpolation type in mri_convert. Would you please help me with this?
Thanks,
try:
mri_convert lesion.mgz lesion_FS_spance.mgz --conform -rt nearest
(rt = resample type)
cheers Bruce
On Sat, 3 Dec 2011, Navid Shiee wrote:
Hi,
I am using freesurfer to process subjects with WM lesions. My data is axial and my lesion masks are in this space. I wanted to use the lesion mask to correct wm.mgz to improve the cortical surfaces. to perform this I tried to use
mri_convert lesion.mgz lesion_FS_spance.mgz --conform
It takes the lesion mask to the desired space, however it used linear interpolation, I need nearest neighbor interpolation. I could not find a flag for specifying the interpolation type in mri_convert. Would you please help me with this?
Thanks,
-- Navid Shiee Ph.D. Candidate Laboratory of MEDical Image Computing (MEDIC) Image Analysis and Communication Laboratory (IACL) Johns Hopkins University
freesurfer@nmr.mgh.harvard.edu