Description Usage Arguments Details Value Examples
Perform a probabilistic segmentation of the voxel in Cerebro Spinal Fluid, White Matter and Grey Matter classes.
1 2 3 4 |
object |
an object of class |
param |
the contrast parameter that should be used to distinguish the WM, the GM and the CSF. character. REQUIRED. |
niter |
the number of iterations used by |
nnei |
the number of neighbors. positive integer. |
beta |
the parameter 'inverse temperature' of the Potts model. numeric. |
sub |
if |
digit |
the number of decimal places to use for the initialization. positive integer. |
verbose |
indicate the level of output as the algorithm runs. logical. |
name_newparam |
the name of the new paramaters containing the probabilistic segmentation. character vector of size 3. |
update.object |
should the resulting tissue types be stored in |
overwrite |
if tissue types are already stored in |
This function requires to have installed the mritc package to work.
ARGUMENTS:
Information about the nnei
and sub
arguments can be found in makeMRIspatial
.
Information about the niter
and beta
arguments can be found in mritc
.
FUNCTION:
This function uses the mritc.bayes
function of the mritc package to compute the probabilistic segmentation.
T1 sequence is the recommanded sequence to identify the various tissue types but T2 gradient echo may also be used.
The initialization function initOtsu
was found much more slower when the contrast parameter values have a large number of digit. The digit
argument enable to round the contrast values ONLY for the computation of the initialization values.
An list containing :
[[prob]]
: the group membership of each voxel for each class. matrix.
[[mu]]
: the mean value of each class. numeric vector.
[[sigma]]
: the standard deviation of each class. numeric vector.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")
## Not run:
## perform segmentation (call mritc)
calcTissueType(MRIaggr.Pat1_red, param = "T1_t0", update.object = TRUE, overwrite = TRUE)
## display
multiplot(MRIaggr.Pat1_red, num = 1,
param = c("CSF","WM","GM"), legend = FALSE,
palette = "rgb")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.