Learn R Programming

imager (version 0.42.10)

displacement: Estimate displacement field between two images.

Description

Estimate displacement field between two images.

Usage

displacement(
  sourceIm,
  destIm,
  smoothness = 0.1,
  precision = 5,
  nb_scales = 0L,
  iteration_max = 10000L,
  is_backward = FALSE
)

Arguments

sourceIm

Reference image.

destIm

Reference image.

smoothness

Smoothness of estimated displacement field.

precision

Precision required for algorithm convergence.

nb_scales

Number of scales used to estimate the displacement field.

iteration_max

Maximum number of iterations allowed for one scale.

is_backward

If false, match I2(X + U(X)) = I1(X), else match I2(X) = I1(X - U(X)).