inverse_trans {neuroim2}R Documentation

Extract inverse image coordinate transformation

Description

Extract inverse image coordinate transformation

Usage

inverse_trans(x)

## S4 method for signature 'NeuroSpace'
inverse_trans(x)

Arguments

x

an object

Value

A numeric 4x4 matrix that maps from real-world coordinates back to grid coordinates.

Examples

bspace <- NeuroSpace(c(10,10,10), c(2,2,2))
itrans <- inverse_trans(bspace)
identical(trans(bspace) %*% inverse_trans(bspace), diag(4))

[Package neuroim2 version 0.8.1 Index]