dti (version 1.4.3.1)

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

Description

Create a mask containing voxel inside the head

Usage

# S4 method for 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.

Methods

obj = "ANY"

Returns a warning

obj = "dtiData"

Create a mask containing voxel inside the head

obj = "array"

Create a mask containing voxel inside the head

See Also

dtiData, readDWIdata, dti.smooth, sdpar