Learn R Programming

dti (version 1.2-0.1)

getmask-methods: Methods for Function `getmask' in Package `dti'

Description

Create a mask containing voxel inside the head

Usage

## S3 method for class 'dtiData':
getmask(object, level = NULL, prop = 0.4, size = 3)

Arguments

object
an object of class "dtiData"
level
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.
prop
proportion of voxel in test area with s0 value larger than level needed to decide for a voxel inside the brain
size
size of a cube defining a test area

Value

  • The function returns an object of class dtiData.

See Also

dtiData, readDWIdata, dti.smooth, sdpar