View source: R/thresholdImage.R
integrateVectorField | R Documentation |
Utility function to integrate a vector field and create a deformation field.
integrateVectorField(
referenceImage,
vectorFieldFileName,
deformationFieldFileName,
lowerTime = 0,
upperTime = 1,
deltaTime = 0.01
)
referenceImage |
defines the image domain |
vectorFieldFileName |
the vector field exists on disk. |
deformationFieldFileName |
the deformation field output file name. |
lowerTime |
the starting time, usually zero for forward transformation and one for the inverse transformation. |
upperTime |
the ending time, usually one for forward transformation and zero for the inverse transformation. |
deltaTime |
the integration time step |
Avants BB
## Not run:
set.seed(1234)
fi <- (ri(1))
mi <- (ri(2))
mytx2 <- antsRegistration(fixed = fi, mi, typeofTransform = "SyN")
integrateVectorField(fi, mytx2$velocityfield, "/tmp/def.nii.gz")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.