Using version 4.5.0, I get this error message with mri_vol2surf:
INFO: Source volume detected as selxavg format
 number of frames is incorrect (0,1)

This error does not happen with version 3.0.5, and it only happens for input 
volumes with particular file names.

This fails:
mri_vol2surf \
 
 --src 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTcalc/DTI5_corr_resDTI_DT_minb1000_FA.mgz
 \
  --src_type mgh \
  --srcreg 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTanalysis/rh-tmpreg.dat
 \
  --hemi lh \
  --surf white \
  --out 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTanalysis/DTI5_corr_resDTI_DT_minb1000_FA_pdist-1.0-lh.mgh
 \
  --out_type mgh \
  --trgsubject FREESURFERRECON_EPDTI_epd34_101002_20101002.185011_1 \
  --projdist -1.000 \
  --noreshape

But this works:
mri_vol2surf \
 
 --src 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTcalc/DTI5_corr_resDTI_DT_minb1000_FA2.mgz
 \
  --src_type mgh \
  --srcreg 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTanalysis/rh-tmpreg.dat
 \
  --hemi lh \
  --surf white \
  --out 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTanalysis/DTI5_corr_resDTI_DT_minb1000_FA_pdist-1.0-lh.mgh
 \
  --out_type mgh \
  --trgsubject FREESURFERRECON_EPDTI_epd34_101002_20101002.185011_1 \
  --projdist -1.000 \
  --noreshape

In the second case, the input file is a direct copy of the input file for the 
first case.  It also works if the input file is copied to another location.


The complete messages when it fails:
srcvol
 = 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTcalc/DTI5_corr_resDTI_DT_minb1000_FA.mgz
srctype = mgh
srcreg = 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTanalysis/rh-tmpreg.dat
srcregold = 0
srcwarp unspecified
surf = white
hemi = lh
trgsubject = FREESURFERRECON_EPDTI_epd34_101002_20101002.185011_1
surfreg = sphere.reg
ProjDist = -1
interp = nearest
float2int = round
GetProjMax = 0
INFO: float2int code = 0
Done loading volume
INFO: Source volume detected as selxavg format
 number of frames is incorrect (0,1)


Complete messages when it succeeds (second case):
srcvol
 = 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTcalc/DTI5_corr_resDTI_DT_minb1000_FA2.mgz
srctype = mgh
srcreg = 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTanalysis/rh-tmpreg.dat
srcregold = 0
srcwarp unspecified
surf = white
hemi = lh
trgsubject = FREESURFERRECON_EPDTI_epd34_101002_20101002.185011_1
surfreg = sphere.reg
ProjDist = -1
interp = nearest
float2int = round
GetProjMax = 0
INFO: float2int code = 0
Done loading volume
Reading surface 
/space/md4/5/halgdev/epiproj/FSRECONS/FREESURFERRECON_EPDTI_epd34_101002_20101002.185011_1/surf/lh.white
Done reading source surface
Reading thickness 
/space/md4/5/halgdev/epiproj/FSRECONS/FREESURFERRECON_EPDTI_epd34_101002_20101002.185011_1/surf/lh.thickness
Done
Mapping Source Volume onto Source Subject Surface
 1 -1 -1 -1
Done mapping volume to surface
Number of source voxels hit = 28720
Writing
 to 
/space/md8/10/data/epiproj/EPDTI/Containers/MRIPROCESSED_EPDTI_epd34_101002_20101002.185011_1/DTanalysis/DTI5_corr_resDTI_DT_minb1000_FA_pdist-1.0-lh.mgh
Dim: 145736 1 1


FYI:

FREESURFER_HOME: /usr/pubsw/packages/freesurfer/RH4-x86_64-R450

Build stamp: freesurfer-Linux-centos4_x86_64-stable-pub-v4.5.0

RedHat release: CentOS release 5.5 (Final)

Kernel info: Linux 2.6.18-194.8.1.el5 x86_64


                                          
_______________________________________________
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