getAnalyzeOrigin: Analyze origin

Description Usage Arguments Value Examples

Description

This function returns the image origin having being supplied a file path

Usage

1

Arguments

fname

Path to the analyze file. The path can either be to the .img file .hdr file. Compression using gzip is supported.

Value

Returns a vector of length three containing the origin. This may be nonsensical if the origin has not been set. This may be the case in a number of files,

Examples

1
2
file<-system.file("extdata","avg152T1.hdr.gz",package="FIACH")
getAnalyzeOrigin(file)

tierneytim/FIACH documentation built on May 31, 2019, 1:45 p.m.