Description Usage Arguments Value Author(s) See Also
This function does the opposite to decomposeAffine
, building
up an affine matrix from its components. It can be useful for testing, or
for rescaling images.
1 2 3 
translation 
Translations along each axis, in 
scales 
Scale factors along each axis. 
skews 
Skews in the XY, XZ and YZ planes. 
angles 
Roll, pitch and yaw rotation angles, in radians. If

source 
The source image for the transformation (required). 
target 
The target image for the transformation. If 
anchor 
The fixed point for the transformation. Setting this parameter
to a value other than 
A 4x4 affine matrix representing the composite transformation. Note that NiftyReg affines logically transform backwards, from target to source space, so the matrix may be the inverse of what is expected.
Jon Clayden <[email protected]>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.