R/all_generic.R
R/neurospace.R
origin-methods.Rd
Extract Image Origin
origin(x) # S4 method for NeuroSpace origin(x) # S4 method for NeuroVol origin(x)
an object with an origin
the origin of the image
bspace <- NeuroSpace(c(10,10,10), c(2,2,2)) stopifnot(origin(bspace) == c(0,0,0))