FSL User Guide - NEWIMAGE Reference Guide

This document describes the two templated container classes ( volume and volume4D) in NEWIMAGE. In addition, it describes the general functions supporting them, including file I/O operations, in AVW format.

Both classes are templated by a single basic type <T>. As the classes are precompiled into the library, only certain types are available. Currently, these are: char, short, int, float, double.


HEADER FILES

Both classes can be used by using the following line:
#include "newimage.h"
and all classes are contained in the namespace: NEWIMAGE

VOLUME

This is the basic 3D container class.

Constructors

Note that none of the constructors described above initialize the data values. To do this the assignment operator should be used.

Data Access

Note that both const and non- const versions of the above access operators exist. The first form operator() is the most general form, and should be used initially when coding. The second form value is the fastest, most basic access routine and should be used when speed is a priority.

Related functions:

Basic Properties

Lazily Evaluated Properties

Secondary Properties

Iterators

ROI Functions

Arithmetic Functions

Other Functionality


VOLUME4D

This is the basic 4D container class, which is built as an array of 3D volumes. Therefore, each individual volume has all the attributes described above.

Constructors

Data Access

Basic Properties

Lazily Evaluated Properties

Iterators

Other Functionality


FILE I/O


FUNCTIONS


Mark Jenkinson

Copyright © 2000, University of Oxford