pair_align_image {fdasrvf}R Documentation

Pairwise align two images This function aligns to images using the q-map framework

Description

Pairwise align two images This function aligns to images using the q-map framework

Usage

pair_align_image(
  I1,
  I2,
  M = 5,
  ortho = TRUE,
  basis_type = "t",
  resizei = FALSE,
  N = 64,
  stepsize = 1e-05,
  itermax = 1000
)

Arguments

I1

reference image

I2

image to warp

M

number of basis elements (default=5)

ortho

orthonormalize basis (default=TRUE)

basis_type

("t","s","i","o"; default="t")

resizei

resize image (default=TRUE)

N

size of resized image (default=64)

stepsize

gradient stepsize (default=1e-5)

itermax

maximum number of iterations (default=1000)

Value

Returns a list containing

Inew

aligned I2

gam

warping function

References

Q. Xie, S. Kurtek, E. Klassen, G. E. Christensen and A. Srivastava. Metric-based pairwise and multiple image registration. IEEE European Conference on Computer Vision (ECCV), September, 2014

Examples

## Not run: 
  # This is a gradient descent algorithm and takes a long time to run
  out <- pair_align_image(im$I1, im$I2)

## End(Not run)

[Package fdasrvf version 2.2.0 Index]