vtkImageTransform: Transform an image based on landmark configuration

Description Usage Arguments Value

View source: R/vtkTransformImage.r

Description

Transform an image based on landmark configuration

Usage

1
2
3
vtkImageTransform(image, sourceLM, targetLM, outname = "default.mha",
  type = c("none", "scale", "affine"), RAS2IJK = diag(c(-1, -1, 1)),
  interpolation = 2)

Arguments

image

path to 3D-image (tiff, mhd)

sourceLM

the landmarks on the image

targetLM

the target landmarks

outname

name of the file to be saved (must end with .mha)

type

type of transformation

RAS2IJK

3x3 transformation matrix from point to image space

interpolation

type of image interpolation 0=Nearest Neighbour, 1=Linear , 2=Cubic

Value

returns (invisible) TRUE if successful, else FALSE


zarquon42b/RvtkStatismo documentation built on May 4, 2019, 9:09 p.m.