Re: [Freesurfer] "smooth sulc on only part of the surface" one more time

2009-06-04 Thread Rudolph Pienaar
Zhangyuanchao wrote: I would like to mask off the negative values (as the lh.sulc file has both positive and negative value). Another way to filter the sulc is: $>mris_calc -o lh.sulc.pos lh.sulc gte 0 which filters 'lh.sulc' and only lets values that are greater than or equal to 0 through

[Freesurfer] "smooth sulc on only part of the surface" one more time

2009-06-04 Thread Zhangyuanchao
Hi, experts,   I am interested in only the positive sulc  and would like to make group analysis of the postive sulc values. Hence I would like to mask off the negative values (as the lh.sulc file has both positive and negative value). Before making group analysis, I have to resample and smooth t

Re: [Freesurfer] smooth sulc on only part of the surface

2009-06-03 Thread Douglas N Greve
You can use make a mask out of the sulc using mri_binarize. This will result in a surface value file with 1s and 0s. You can then run mris_fwhm to smooth the sulc, passing it the sulc mask. Note: mri_surf2surf and mris_fwhm are redundant in that they can both smooth (and will yield the same res

[Freesurfer] smooth sulc on only part of the surface

2009-06-03 Thread Zhangyuanchao
Hi,all   I am interested in only the positive sulc  and would like to make group analysis of the postive sulc values. Hence I would like to mask off the negative values (as the lh.sulc file has both positive and negative value). Before making group analysis, I have to resample and smooth the sul