otropos: Run Atropos for nifti objects

Description Usage Arguments Value

View source: R/otropos.R

Description

Runs Atropos (a finite mixture model) but with more robust inputs

Usage

1
2
3
4
5
6
7
8
9
otropos(
  a,
  x,
  m = "[0.2,1x1x1]",
  verbose = TRUE,
  ...,
  make_mask = TRUE,
  reset_origin = TRUE
)

Arguments

a

Images to segment. Can be a nifti object, antsImage object, character vector, or list of these

x

Mask image. If none is supplied and make_mask = TRUE, then mask is created by first

m

mrf parameters as a string, usually "[smoothingFactor,radius]". Reset for 3D images, compared to 2D default atropos has.

verbose

print diagnostic messages

...

Additional arguments to be passed to atropos

make_mask

Logical indicating if mask should be created if x is missing. Mask is made using getMask with first image of a.

reset_origin

Should antsCopyOrigin be done on the mask?

Value

Result of atropos, but with nifti objects.


neuroconductor/extrantsr documentation built on Sept. 28, 2020, 11:31 a.m.