origin {neuroim2} | R Documentation |
Extract Image Origin
Description
Extract Image Origin
Usage
origin(x)
## S4 method for signature 'NeuroSpace'
origin(x)
## S4 method for signature 'NeuroVol'
origin(x)
## S4 method for signature 'NeuroVec'
origin(x)
Arguments
x |
an object with an origin |
Value
A numeric vector giving the origin of x
.
Examples
bspace <- NeuroSpace(c(10,10,10), c(2,2,2))
stopifnot(origin(bspace) == c(0,0,0))
[Package neuroim2 version 0.8.1 Index]