next up previous contents
Next: miget_space_name/miset_space_name Up: DATA TYPE/SPACE FUNCTIONS (5) Previous: miget_data_type   Contents

miget_data_type_size

NAME

miget_data_type_size - get the size of an individual voxel in a MINC volume

SYNOPSIS

#include <minc2.h>

int miget_data_type_size( mihandle_t        volume, 
                          misize_t          *voxel_size);

DESCRIPTION

This function retrieves the size, in bytes, of the "native" voxel data
type of the volume.

RETURN VALUE

Returns MI_ERROR on error (invalid volume handle, for example), or
MI_NOERROR on success.



Robert VINCENT 2005-03-09