apply_malf_regs: Apply MALF Registrations

Description Usage Arguments Value

View source: R/apply_malf_regs.R

Description

Takes in an input file, set of registrations, and a set of template structures and applies the registrations, with a different interpolator if necessary

Usage

1
2
3
apply_malf_regs(infile, regs, template.structs, keep_images = TRUE,
  outfiles = NULL, inverted = FALSE, interpolator = NULL,
  verbose = TRUE, ...)

Arguments

infile

Input Image file

regs

List of registrations from malf or malf_registration, each element must have fwdtransforms and interpolator. Same length as template.structs

template.structs

Template gold standards to apply registration into infile space

keep_images

Keep the template.structs in infile space

outfiles

Output filenames for template.structs in infile space

inverted

Should the MALF be inverted (inverse transforms are used instead of forward)

interpolator

interpolation done for antsApplyTransforms, can be different than original MALF

verbose

Print diagnostic output

...

Arguments to be passed to ants_apply_transforms

Value

The output filename or the nifti image or list of registrations and output file


neuroconductor-releases/extrantsr documentation built on Dec. 10, 2019, 12:07 a.m.