origin-methods: Extract Image Origin

originR 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)

Arguments

x

an object with an origin

Value

the origin of the image

Examples

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


bbuchsbaum/neuroim2 documentation built on Nov. 3, 2024, 9:31 a.m.