Integrate velocity field

integrateVelocityField(
  velocityField,
  lowerIntegrationBound = 0,
  upperIntegrationBound = 1,
  numberOfIntegrationSteps = 10
)

Arguments

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

Value

integrated field

Author

NJ Tustison

Examples

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)