Re: [Freesurfer] freeview load overlay error...

2010-11-19 Thread Ruopeng Wang
  Hi Gonzalo,

I've replaced overlay reading code with a more generous one. You can 
give it a try tomorrow with the nightly built dev version.

Best,
Ruopeng

On 11/18/2010 02:18 PM, Gonzalo Rojas Costa wrote:
> Dear Dr. Wang:
>
>   I got the message:
>
> "mris_info zstat3_rh.w
> nquads=8321536,  nvertices=2
> ERROR: MRISread: file 'zstat3_rh.w' has many more faces than vertices!
> Probably trying to use a scalar data file as a surface!
>
> No such file or directory"
>
>   Sincerely,
>
>
> Gonzalo Rojas Costa
> Laboratory for Advanced Medical Image Processing
> Department of Radiology
> Las Condes Clinic
> Lo Fontecilla 441, Las Condes, Santiago, Chile.
> Tel: 56-2-2105170
> Cel: 56-9-97771785
> www.clc.cl
>
>
> El 18-11-2010 15:57, Gonzalo Rojas escribió:
> > Message: 4
> > Date: Mon, 15 Nov 2010 09:36:17 -0500
> > From: Ruopeng Wang 
> > Subject: Re: [Freesurfer] freeview load overlay error...
> > To: freesurfer@nmr.mgh.harvard.edu
> >
> > What does mris_info show on the overlay file?
> >
> > On 11/14/10 11:08 PM, Gonzalo Rojas Costa wrote:
> >> Hi:
> >>
> >>I generated a surface with:
> >>
> >> mri_vol2surf --src zstat3.nii.gz --src_type nifti --srcreg
> >> ../registro.dat
> >> --hemi lh --projfrac 0.5 --out ./zstat3_lh.w --out_type w
> >>
> >> then I tried to load zstat3_lh.w using freeview, but I got the error:
> >>
> >> "MRISreadBinaryCurvature: incompatible vertex number in file
> >> 
> /home/gonzalorojas/Desktop/rendering_broca_wernicke_paper/diestroBL_cov/zstat3_lh.w
>  
>
> >>
> >> could not read overlay data from
> >> 
> /home/gonzalorojas/Desktop/rendering_broca_wernicke_paper/diestroBL_cov/zstat3_lh.w"
>  
>
> >>
> >>
> >>Why ?... How can I solve the problem ?...
> >>
> >>Sincerely,
> >>
> >>
> >> Gonzalo ROjas Costa
> >>
> >>
> >> ___
> >> Freesurfer mailing list
> >> Freesurfer@nmr.mgh.harvard.edu
> >> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>

___
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.



Re: [Freesurfer] freeview load overlay error...

2010-11-18 Thread Gonzalo Rojas Costa
Dear Dr. Wang:

   I got the message:

"mris_info zstat3_rh.w
nquads=8321536,  nvertices=2
ERROR: MRISread: file 'zstat3_rh.w' has many more faces than vertices!
Probably trying to use a scalar data file as a surface!

No such file or directory"

   Sincerely,


Gonzalo Rojas Costa
Laboratory for Advanced Medical Image Processing
Department of Radiology
Las Condes Clinic
Lo Fontecilla 441, Las Condes, Santiago, Chile.
Tel: 56-2-2105170
Cel: 56-9-97771785
www.clc.cl


El 18-11-2010 15:57, Gonzalo Rojas escribió:
 > Message: 4
 > Date: Mon, 15 Nov 2010 09:36:17 -0500
 > From: Ruopeng Wang 
 > Subject: Re: [Freesurfer] freeview load overlay error...
 > To: freesurfer@nmr.mgh.harvard.edu
 >
 > What does mris_info show on the overlay file?
 >
 > On 11/14/10 11:08 PM, Gonzalo Rojas Costa wrote:
 >> Hi:
 >>
 >>I generated a surface with:
 >>
 >> mri_vol2surf --src zstat3.nii.gz --src_type nifti --srcreg
 >> ../registro.dat
 >> --hemi lh --projfrac 0.5 --out ./zstat3_lh.w --out_type w
 >>
 >> then I tried to load zstat3_lh.w using freeview, but I got the error:
 >>
 >> "MRISreadBinaryCurvature: incompatible vertex number in file
 >> 
/home/gonzalorojas/Desktop/rendering_broca_wernicke_paper/diestroBL_cov/zstat3_lh.w
 

 >>
 >> could not read overlay data from
 >> 
/home/gonzalorojas/Desktop/rendering_broca_wernicke_paper/diestroBL_cov/zstat3_lh.w"
 

 >>
 >>
 >>Why ?... How can I solve the problem ?...
 >>
 >>Sincerely,
 >>
 >>
 >> Gonzalo ROjas Costa
 >>
 >>
 >> ___
 >> Freesurfer mailing list
 >> Freesurfer@nmr.mgh.harvard.edu
 >> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
___
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.



Re: [Freesurfer] freeview load overlay error...

2010-11-15 Thread Ruopeng Wang

What does mris_info show on the overlay file?

On 11/14/10 11:08 PM, Gonzalo Rojas Costa wrote:

Hi:

   I generated a surface with:

mri_vol2surf --src zstat3.nii.gz --src_type nifti --srcreg ../registro.dat
--hemi lh --projfrac 0.5 --out ./zstat3_lh.w --out_type w

then I tried to load zstat3_lh.w using freeview, but I got the error:

"MRISreadBinaryCurvature: incompatible vertex number in file
/home/gonzalorojas/Desktop/rendering_broca_wernicke_paper/diestroBL_cov/zstat3_lh.w
could not read overlay data from
/home/gonzalorojas/Desktop/rendering_broca_wernicke_paper/diestroBL_cov/zstat3_lh.w"

   Why ?... How can I solve the problem ?...

   Sincerely,


Gonzalo ROjas Costa


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


___
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.