nrrd.read.data: Read the data section of a NRRD file.

View source: R/read_nrrd.R

nrrd.read.dataR Documentation

Read the data section of a NRRD file.

Description

Reads the values of a volume, from the header file itself or from the data files it names, and checks that their number matches the dimensions stated in the header.

Usage

nrrd.read.data(filepath, info, type_info)

Arguments

filepath

character string, path to the header file.

info

named list, the parsed header, see read.nrrd.header.

type_info

named list, the R data type information, see nrrd.type.info.

Value

vector of values, of length prod(sizes).


freesurferformats documentation built on Sept. 25, 2026, 1:07 a.m.