next up previous contents
Next: miopen_volume Up: VOLUME FUNCTIONS (6) Previous: miget_volume_dimension_count   Contents

miget_volume_voxel_count

NAME

miget_volume_voxel_count - get the number of voxels in the volume.
SYNOPSIS

#include <minc2.h>

int miget_volume_voxel_count ( mihandle_t           volume, 
                               int                  *number_of_voxels );

DESCRIPTION

This function returns the number of voxels in the volume.

RETURN VALUE

MI_NOERROR if the call succeeds, or MI_ERROR if an error is detected.



Robert VINCENT 2005-03-09