which version of FS are you using? I think the regheader was added for version 5. If you're using an earlier version, you'll need to create the registration with
tkregister2 --mov rawavg.mgz --targ aseg.mgz --regheader --reg rawreg.dat --noedit
Then pass rawreg.dat to mri_label2vol with the --reg flag.
doug
Navid Shiee wrote:
Hi,
I am trying to transform the volumetric labels from aseg.auto to the original space. As suggested on the wiki I use the command
mri_label2vol --seg aseg.mgz --temp rawavg.mgz --o aseg-in-rawavg.mgz --regheader aseg.mgz However, I got ERROR: Option --regheader unknown
If I don't use that option at all, the image is still in coronal orientation although the header is changed to axial. Would you please help me on this?
Thanks,
Navid
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer