randomANTsTransformation: random transformation matrix

View source: R/patchMatch.R

randomANTsTransformationR Documentation

random transformation matrix

Description

generates a random transformation matrix in ants style. takes an initial transformation, its parameters and a seed that allows repeatability.

Usage

randomANTsTransformation(
  loctx,
  transformType = c("Rigid", "Affine", "ScaleShear"),
  sdAffine,
  idparams,
  fixParams,
  seeder,
  idim
)

Arguments

loctx

initial affine transformation to modify

transformType

one of Rigid, Affine and ScaleShear

sdAffine

standard deviation parameter e.g. 0.15

idparams

identity parameters

fixParams

fixed parameters for ANTs or ITK transformation

seeder

random seed

idim

spatial dimension of transformation

Value

the input transformation matrix with parameters generated randomly

Author(s)

Avants BB


stnava/patchMatchR documentation built on March 23, 2022, 6:47 a.m.