Takes in an input file, set of registrations, and a set of template structures and applies the registrations, with a different interpolator if necessary, and then combines output
reapply_malf( infile, regs, template.structs, keep_images = FALSE, outfiles = NULL, outfile = NULL, retimg = TRUE, func = "mode", ties.method = "first", interpolator = NULL, verbose = TRUE, ... )
| infile | Input Image file |
|---|---|
| regs | List of registrations from |
| template.structs | Template gold standards to apply
registration into |
| 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 |
| interpolator | interpolation done for
|
| verbose | Print diagnostic output |
| ... | Arguments to be passed to |
The output filename or the nifti image or list of registrations and output file