Create a mask containing voxel inside the head
# S4 method for dtiData
getmask(object, level = NULL, prop = 0.4, size = 3)
The function returns an object of class dtiData
.
an object of class "dtiData"
S0 intensity value to be used to discriminate between
voxel inside and outside the brain. A good value of level may be determined
using method sdpar
in advance.
proportion of voxel in test area with s0 value larger than level needed to decide for a voxel inside the brain
size of a cube defining a test area
Returns a warning
Create a mask containing voxel inside the head
Create a mask containing voxel inside the head
Karsten Tabelow tabelow@wias-berlin.de
J\"org Polzehl polzehl@wias-berlin.de
dtiData
,
readDWIdata
,
dti.smooth
,
sdpar