Learn R Programming

freesurferformats (version 1.1.0)

apply.affine.to.coords: Apply an affine to a set of coordinates.

Description

Apply an affine to a set of coordinates.

Usage

apply.affine.to.coords(coords, affine)

Value

numeric matrix with 3 columns, the transformed coordinates.

Arguments

coords

numeric matrix with 3 columns, the coordinates.

affine

4x4 numeric matrix.