dti (version 1.5.4)

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)

Value

The function returns an object of class dtiData.

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

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

Author

Karsten Tabelow tabelow@wias-berlin.de
J\"org Polzehl polzehl@wias-berlin.de

See Also

dtiData, readDWIdata, dti.smooth, sdpar