[Freesurfer] mri_mask output problem

2013-12-30 Thread Caspar M. Schwiedrzik
Hi Freesurfer Experts, I am trying to apply a mask that I made with FSL's bet to a NIFTI file that I got from someone else. The mask looks fine, the NIFTI file is in float format, does not contain NaNs or negative values, but the overall values are all pretty low (in the 40ies). When I try to

Re: [Freesurfer] mri_mask output problem

2013-12-30 Thread Douglas Greve
what is your command line and terminal output? On 12/30/13 10:22 AM, Caspar M. Schwiedrzik wrote: Hi Freesurfer Experts, I am trying to apply a mask that I made with FSL's bet to a NIFTI file that I got from someone else. The mask looks fine, the NIFTI file is in float format, does not

Re: [Freesurfer] mri_mask output problem

2013-12-30 Thread Caspar M. Schwiedrzik
Hi Doug, this is the command line input: mri_mask macaque_25_model-MNI.nii macaque_stripped_mask.nii.gz macaque_stripped_final2.nii this is the terminal output: DoAbs = 0 Found 14652800 voxels in mask Writing masked volume to macaque_stripped_final2.nii...done. The same thing happens when I use

Re: [Freesurfer] mri_mask output problem

2013-12-30 Thread Douglas Greve
And macaque_25_model-MNI.nii is the non-binary image? And macaque_stripped_mask.nii.gz is the binary mask? If so, the command looks right to me. doug On 12/30/13 12:08 PM, Caspar M. Schwiedrzik wrote: Hi Doug, this is the command line input: mri_mask macaque_25_model-MNI.nii

Re: [Freesurfer] mri_mask output problem

2013-12-30 Thread Caspar M. Schwiedrzik
Hi Doug, that's correct. I think the problem is perhaps that the original NIFTI file has a very narrow range of values, between 43.7308 and 43.8476, to cover the whole range of tissues in the image. It is an average over several subjects, and before skull stripping, there are hardly any zeros in

Re: [Freesurfer] mri_mask output problem

2013-12-30 Thread Douglas Greve
That should not be a problem. Certainly it should not cause everything to go to 1s and 0s. What version of FS are you using? And you say the same thing happens with FSL? Try using mri_convert to convert the nonbinary image to another nifti file and see if you get 1s and 0s. If not, then try

Re: [Freesurfer] mri_mask output problem

2013-12-30 Thread Caspar M. Schwiedrzik
Hi Doug, thanks for your input. I turns out that there is some problem when converting minc to NIFTI with float. I got a hold of the original minc file and converted it to NIFTI with minc2nii using integer, and now the values are in a reasonable range and the skull stripping works. Thanks! Caspar

Re: [Freesurfer] citation for smoothing method

2013-12-30 Thread Douglas N Greve
Hi Yumi, you can site Hagler, 2006, NI, Smoothing and cluster thresholding for cortical surface-based group analysis of fMRI data doug On 12/26/2013 08:01 PM, YUMI MAEDA wrote: Hi, I have a question about citation for smoothing methods. In the following link,

[Freesurfer] freeview error

2013-12-30 Thread Rujing Zha
Hi Bruce and others, Thanks Bruce. I had installed the centos6.5 x86_64 in my computer, and setup the freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0.tar.gz, and I setup the nvidia drivers completely. Then I tried to run this command: freeview -f

[Freesurfer] freeview error

2013-12-30 Thread rujing cha
Hi Bruce and others, Thanks Bruce. I had installed the centos6.5 x86_64 in my computer, and setup the freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0.tar.gz, and I setup the nvidia drivers completely. Then I tried to run this command: freeview -f

[Freesurfer] Fwd: freeview error

2013-12-30 Thread rujing cha
Hi Bruce and others, Thanks Bruce. I had installed the centos6.5 x86_64 in my computer, and setup the freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0.tar.gz, and I setup the nvidia drivers completely. Then I tried to run this command: freeview -f