Takes in an input file and template images with a set of template structures and creates a label fusion
malf( infile, template.images, template.structs, inverted = FALSE, keep_images = FALSE, outfiles = NULL, outfile = NULL, retimg = TRUE, func = "mode", ties.method = "first", keep_regs = FALSE, outprefix = NULL, interpolator = "NearestNeighbor", typeofTransform = "SyN", verbose = TRUE, ... )
| infile | Input Image file |
|---|---|
| template.images | Template Images to register
to |
| template.structs | Template gold standards to apply
registration into |
| inverted | Should the MALF be inverted (infile to template then use inverse transforms) |
| keep_images | Keep the |
| outfiles | Output filenames for |
| outfile | Fused output filename |
| retimg | Return Image to user using |
| func | function to combine labels. See |
| ties.method | If |
| keep_regs | Keep list of registrations. If |
| outprefix | passed to |
| interpolator | interpolation done for
|
| typeofTransform | type of transformed used, passed to
|
| verbose | Print diagnostic output |
| ... | Arguments to be passed to |
The output filename or the nifti image or list of registrations and output file