The Format of V16 Files
V16 files contain high-resolution anatomical 3D data sets, typically containing the whole brain (head) of subjects. The intensity values are stored as a series of bytes. See the VMR format for a version storing each intensity value with one byte (chars). The V16 format contains a small header followed by the actual data.
V16 Header
BYTES | DATA TYPE | DEFAULT | DESCRIPTION |
2 | unsigned short | 256 | DimX, dimension of X axis |
2 | unsigned short | 256 | DimY, dimension of Y axis |
2 | unsigned short | 256 | DimZ, dimension of Z axis |
V16 Data
Each data element (intensity value) is represented in short integers (2 bytes). The data is organized in three loops:
DimZ
DimY
DimX
A V16 file is a minimal version of a VMR file, but each intensity value in a VMR is represented by 1 byte instead of 2 bytes.