This function reads the .nrrd format used by AIBS, containing 32-bit integer values with 15 header lines.

read_aibs_nrrd(file, dims = c(528, 320, 456), header_lines = 15)

Arguments

file

The .nrrd file to read

dims

The dimensions of the array. Default is for 25 nm CCF arrays: c(528,320,456)

header_lines

The number of header lines in the .nrrd file. Default is 15.

Value

a 3 dimensional integer array with dims