| labelreg | R Documentation | 
This function registers a full image to a fixed image, then applies the registration to a label or binary image in the same space as the full image.
labelreg(fullimage, labelimage, fixedimage, typeofTransform = "Rigid", interpolator = "lanczosWindowedSinc")
fullimage | 
 an image of class   | 
labelimage | 
 an image of class   | 
fixedimage | 
 an image of class   | 
typeofTransform | 
 the type of registration desired; this value is passed onto the registration function from extrantsr.  | 
interpolator | 
 the type of interpolation desired; this value is passed onto the antsApplyTransforms function from ANTsRCore  | 
A list containing image_reg (the registered version of fullimage) and label_reg (the registered version of labelimage).
## Not run: 
library(neurobase)
library(fslr)
flair <- readnii('path/to/flair')
t1 <- readnii('path/to/t1')
tissue.class= <- fast(t1, opts='--nobias')
registered <- labelreg(t1,tissue.class,flair)
t1_reg = registered$image_reg
tissue.class_reg = registered$label_reg 
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.