Color Lookup Table Colormap contains a color lookup table, which is NULL for grey scale data. The length of this string is increased as information is added to it. The use of these functions is illustrated in the following example. Image Offsets YTable is an array of offsets to the start of each row in the image. This allows the user to quickly, by avoiding a multiplication, address pixels within the image.
Depth defines the number of images in the Z dimension of the volume.
BytesPerVolume and VoxelsPerVolume provide commonly used precomputed values. The ZTable is an array of offsets to the start of each image within the volume. These functions will allocate memory based on user specified parameters or will use an existing block of memory. Debugging may become more difficult when using these macros rather than the functions. Memory Usage AVW provides a mechanism for reusing and allocating AVW structures.