| extract_coregistration | R Documentation |
Extract transform from 'ANTs' and moving image, save the transform matrices.
extract_coregistration(transform_path, moving_img, outprefix = NULL)
transform_path |
path to the transform
( |
moving_img |
path to the moving image, for example, if |
outprefix |
output prefix, where the matrices are saved to; default is
at the same folder as |
A list of two matrices: new_sform is the new index to image
transform (see 'sform' in 'NIfTI' header definition). This is a
four-by-four matrix transforming from the voxel index (moving image) to the
fixed image 'RAS' coordinates. ras_transform is a four-by-four
matrix from the moving image to the fixed image in 'RAS' coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.