View source: R/integrateVelocityField.R
integrateVelocityField | R Documentation |
Integrate velocity field
integrateVelocityField(
velocityField,
lowerIntegrationBound = 0,
upperIntegrationBound = 1,
numberOfIntegrationSteps = 10
)
velocityField |
time-varying displacement field |
lowerIntegrationBound |
Lower time bound for integration in [0, 1] |
upperIntegrationBound |
Upper time bound for integration in [0, 1] |
numberOfIntegrationSteps |
Number of integration steps used in the Runge-Kutta solution |
integrated field
NJ Tustison
fi <- antsImageRead(getANTsRData("r16"))
mi <- antsImageRead(getANTsRData("r27"))
reg <- antsRegistration(fi, mi, "TV[2]")
velocityField <- antsImageRead(reg$velocityfield)
field <- integrateVelocityField(velocityField, 0.0, 1.0, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.