powered by
Extract image coordinate transformation
Get transformation matrix
trans(x)# S4 method for MetaInfo trans(x)# S4 method for NeuroObj trans(x)# S4 method for NeuroSpace trans(x)
# S4 method for MetaInfo trans(x)
# S4 method for NeuroObj trans(x)
# S4 method for NeuroSpace trans(x)
A numeric 4x4 matrix that maps from grid coordinates to real-world coordinates.
an object with a transformation
This function returns a transformation that can be used to go from "grid coordinates" to "real world coordinates" in millimeters. see NeuroSpace
NeuroSpace
bspace <- NeuroSpace(c(10,10,10), c(2,2,2)) trans(bspace) all.equal(dim(trans(bspace)), c(4,4))
Run the code above in your browser using DataLab