Learn R Programming

neuroim2 (version 0.8.5)

origin: Extract Image Origin

Description

Extract Image Origin

Usage

origin(x)

# S4 method for NeuroSpace origin(x)

# S4 method for NeuroVol origin(x)

# S4 method for NeuroVec origin(x)

Value

A numeric vector giving the origin of x.

Arguments

x

an object with an origin

Examples

Run this code
bspace <- NeuroSpace(c(10,10,10), c(2,2,2))
stopifnot(origin(bspace) == c(0,0,0))

Run the code above in your browser using DataLab