How did you edit the registration? Does it work with the unedited version?

On 04/13/2016 10:21 AM, Elijah Mak wrote:
> Hi Doug,
>
> One more question about feeding the -reg to mri_vol2surf, please.
>
> I am specifying the registration .lta because I have made edits to it,
>
> mri_vol2surf --src FS6_24551_MPRAGE_Neuro.nii/pet/pet2free_fsl.mgz 
> --out FS6_24551_MPRAGE_Neuro.nii/surf/lh.PETSurfce.mgh --projfrac 0.5 
> --hemi lh --reg FS6_24551_MPRAGE_Neuro.nii/pet/pet2free_fsl.mgz.lta 
> --trgsubject fsaverage
>
> I get the following error:
>
> srcvol = FS6_24551_MPRAGE_Neuro.nii/pet/pet2free_fsl.mgz
>
> srcreg = FS6_24551_MPRAGE_Neuro.nii/pet/pet2free_fsl.mgz.lta
>
> srcregold = 0
>
> srcwarp unspecified
>
> surf = white
>
> hemi = lh
>
> trgsubject = fsaverage
>
> surfreg = sphere.reg
>
> ProjFrac = 0.5
>
> thickness = thickness
>
> reshape = 0
>
> interp = nearest
>
> float2int = round
>
> GetProjMax = 0
>
> INFO: float2int code = 0
>
> Done loading volume
>
> Input reg is LTA
>
>
>
> type      = 0 # LINEAR_VOX_TO_VOX
>
> nxforms   = 1
>
> mean      = 0.0000 0.0000 0.0000
>
> sigma     = 1.0000
>
> 1 4 4
>
> 9.996573328971863e-01 -2.963314531370997e-03 2.600867860019207e-02 
> -2.005096435546875e+00
>
> 1.517883041479706e-18 9.935718178749084e-01 1.132032126188278e-01 
> -2.398274230957031e+01
>
> -2.617694810032845e-02 -1.131644248962402e-01 9.932314157485962e-01 
> 1.568508148193359e+01
>
> 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 
> 1.000000000000000e+00
>
> src volume info
>
> valid = 1  # volume info valid
>
> filename = 
> /Users/MacPro/Documents/NIMROD_DTI/FS6_24551_MPRAGE_Neuro.nii/pet/pet2free_fsl.mgz
>
> volume = 256 256 256
>
> voxelsize = 1.000000000000000e+00 1.000000000000000e+00 
> 1.000000000000000e+00
>
> xras   = -1.000000000000000e+00 -2.328306436538696e-10 
> 0.000000000000000e+00
>
> yras   = -1.862645149230957e-09 -2.991509973071516e-08 
> -1.000000000000000e+00
>
> zras   = 0.000000000000000e+00 1.000000000000000e+00 1.091393642127514e-10
>
> cras   = 1.471549987792969e+00 -1.038517761230469e+01 
> 1.970146179199219e+01
>
> dst volume info
>
> valid = 1  # volume info valid
>
> filename = 
> /Users/MacPro/Documents/NIMROD_DTI/FS6_24551_MPRAGE_Neuro.nii/pet/pet2free_fsl.mgz
>
> volume = 256 256 256
>
> voxelsize = 1.000000000000000e+00 1.000000000000000e+00 
> 1.000000000000000e+00
>
> xras   = -1.000000000000000e+00 -2.328306436538696e-10 
> 0.000000000000000e+00
>
> yras   = -1.862645149230957e-09 -2.991509973071516e-08 
> -1.000000000000000e+00
>
> zras   = 0.000000000000000e+00 1.000000000000000e+00 1.091393642127514e-10
>
> cras   = 1.471549987792969e+00 -1.038517761230469e+01 
> 1.970146179199219e+01
>
> fscale 0.150000
>
> ERROR: source volume is neither source nor target of the registration
>
> This error does not appear when I use --regheader though?
>
> Best Wishes,
>
> Elijah
>
>
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

-- 
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to