osboxes@osboxes:~/Documents/freesurfer/subjects/iDBS007/mri$ mri_watershed -wat+temp -useSRAS -surf ./surfout ./T1.mgz ./brainvol Mode: watershed algorithm + first template smoothing Mode: use surfaceRAS to save surface vertex positions Mode: Saving out BEM surfaces ********************************************************* The input file is ./T1.mgz The output file is ./brainvol *************************WATERSHED************************** Sorting... T1-weighted MRI image modification of the preflooding height to 15 percent Count how many 110 voxels are present : 139360 Find the largest 110-component... heap usage = 200464 Kbytes. current max segment has 111799 voxels removing small segments (less than 1 percent of maxarea). heap usage = 131784 Kbytes. removing small segments (less than 1 percent of maxarea).done And identify it as the main brain basin...done Main component: 111799 voxels first estimation of the COG coord: x=130 y=126 z=113 r=77 first estimation of the main basin volume: 1973574 voxels global maximum in x=112, y=110, z=78, Imax=255 CSF=24, WM_intensity=110, WM_VARIANCE=5 WM_MIN=110, WM_HALF_MIN=110, WM_HALF_MAX=110, WM_MAX=110 preflooding height equal to 15 percent done. Analyze... main basin size= 1212297 voxels, voxel volume =1.000 = 1212297 mmm3 = 1212.297 cm3 done. PostAnalyze... ambiguous basin, merged: at least 6 ambiguous voxels; size: 213 voxels ambiguous basin, merged: at least 6 ambiguous voxels; size: 167 voxels ambiguous basin, merged: at least 17 ambiguous voxels; size: 4603 voxels ambiguous basin, merged: at least 12 ambiguous voxels; size: 1336 voxels ambiguous basin, merged: at least 6 ambiguous voxels; size: 203 voxels ambiguous basin, merged: at least 50 ambiguous voxels; size: 117655 voxels ***** 6 basin(s) merged in 4 iteration(s) ***** 124177 voxel(s) added to the main basin ambiguous basin, non merged: 8 ambiguous voxels; size: 2743 voxels done. ****************TEMPLATE DEFORMATION**************** second estimation of the COG coord: x=129,y=126, z=107, r=10065 iterations mri_strip_skull: done peeling brain Brain Size = 1470715 voxels, voxel volume = 1.000 mm3 = 1470715 mmm3 = 1470.715 cm3 outer skin surface matching... mri_watershed Error: Problem in find normal