Read mask definition from NIfTI file and include it in dtiData object
# S4 method for dtiData
setmask(object, maskfile)
The function returns an object of class dtiData
.
an object of class "dtiData"
NIfTI file containing mask definition. Dimension need to be
compatible, i.e. either equal object@ddim0
or object@ddim
Returns a warning
Set mask definition in dtiObject using information provided as NIfTI file as e.g. provided by fsl_bet
.
Karsten Tabelow tabelow@wias-berlin.de
J\"org Polzehl polzehl@wias-berlin.de
dtiData
,
readDWIdata
,