open-discussion > RE: Error while opening MRIcron drawn lesion files in Tracvis as an ROI
Feb 14, 2022  02:02 PM | Chris Rorden
RE: Error while opening MRIcron drawn lesion files in Tracvis as an ROI
Sorry I did not see this, but it looks like the spatial dimensions are different (182x218x182 vs 181x217x181). More problematically, the tracvis image does not include any spatial orientation information (e.g. the SForm). I suspect this is a bug with TrackVis, and you want to contact that team. 

You may want to reslice the drawing to match your target. This is usually a simple script like this one (I would suggest nearest neighbor interpolation for binary lesion maps):
  https://github.com/rordenlab/spmScripts/blob/master/nii_reslice_target.m
However, these scripts will be confounded by the fact that the TrackVis spatial transform has not been set. You will want to sort that out first.

Threaded View

TitleAuthorDate
PRABHAKAR AT Aug 24, 2020
cui zhixia Feb 14, 2022
PRABHAKAR AT Feb 14, 2022
Roger Newman-Norlund Feb 14, 2022
Chris Rorden Feb 14, 2022
RE: Error while opening MRIcron drawn lesion files in Tracvis as an ROI
Chris Rorden Feb 14, 2022