I just realized that a simpler way to create this mask would be to use 
"ribbon.mgz" and find all the voxels with the labels 2 and 41 which correspond to "Left_White" and "Right_White".
https://surfer.nmr.mgh.harvard.edu/fswiki/mris%25volmask
Does this sound correct ? 

Mehul


On Sun, Nov 8, 2009 at 1:48 PM, Mehul Sampat <mpsampat@gmail.com> wrote:
Hi Folks,

I want to create a white matter mask (a volume in which all of the white matter voxels are 1 and 0 otherwise)

For this, I am planning to use wmparc.mgz and then set the voxels with labels of wm-lh-? and wm-rh-? as 1.
(here wm-lh-? represents labels such wm-lh-temporalpole, wh-lh-insula etc)
From wmparc.stats I found there are 35 such labels for each hemisphere.

Is this the right way to create the white matter mask ? 

Thanks
Mehul