Description Usage Arguments Value Author(s) Examples
This program is a user-level registration application meant to utilize ITKv4-only classes. The user can specify any number of stages where a stage consists of – a transform, an image metric, number of iterations, shrink factors, and smoothing sigmas for each level. Specialized for 4D time series data: fixed image is 3D, moving image should be the 4D time series. Fixed image is a reference space or time slice.
1 2 3 |
d -or- dimensionality = <value> |
This option forces the image to be treated as a specified-dimensional image. If not specified, N4 tries to infer the dimensionality from the input image. Allowed values: 2, 3. |
n -or- "n-images" = <value> |
This option sets the number of images to use to construct the template image. Default: 10. |
m -or metric =
|
Four image metrics are available— GC : global correlation, CC: ANTS neighborhood cross correlation, MI: Mutual information, and Demons: Thirion's Demons (modified mean-squares). Note that the metricWeight is currently not used. Rather, it is a temporary place holder until multivariate metrics are available for a single stage. |
u -or- useFixedReferenceImage = <value> |
use a fixed reference image instead of the neighor in the time series. |
e -or- useScalesEstimator = <value> |
use the scale estimator to control optimization. |
t -or- transform =
|
Several transform options are available. The gradientStep orlearningRate characterizes the gradient descent optimization and is scaled appropriately for each transform using the shift scales estimator. Subsequent parameters are transform-specific and can be determined from the usage. |
i -or- iterations = <value> |
Specify the number of iterations at each level in the form MxNx0... |
s -or- smoothingSigmas = <value> |
Specify the amount of smoothing at each level in the form MxNx0... |
f -or- shrinkFactors = <value> |
Specify the shrink factor for the virtual domain (typically the fixed image) at each level in the form MxNx0... |
o -or- output = list( <outputTransformPrefix>, <outputWarpedImage>, <outputAverageImage>) |
Specify the output transform prefix (output format is .nii.gz ).Optionally, one can choose to warp the moving image to the fixed space and, if the inverse transform exists, one can also output the warped fixed image. |
a -or- "average-image" = <image> |
Average the input time series image. |
0 – Success
1 – Failure
Shrinidhi KL
1 2 3 4 5 | ## Not run:
antsMotionCorr( list( d = 3 , a = img , o = avg_img ) )
antsMotionCorr( list( d = 3 , o = list( moco_params , moco_img , avg_img ) , m = list( name = "MI" , avg_img , img , 1 , 32 , 50 ) , t = "Rigid[0.01]" , i = 25 , u = 1 , e = 1 , s = 0 , f = 1 , n = 25 ) )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.