next up previous contents
Next: miget_volume_voxel_count Up: VOLUME FUNCTIONS (6) Previous: micreate_volume   Contents

miget_volume_dimension_count

NAME

miget_volume_dimension_count - get the number of dimensions defined in a MINC
volume, according to their class and attribute.

SYNOPSIS

#include <minc2.h>

int miget_volume_dimension_count ( mihandle_t           volume, 
                                   midimclass_t         class,
                                   midimattr_t          attr,
                                   int                  *dimension_count );

DESCRIPTION

This function may be used to determine the number of dimensions with the
given class and attributes.

RETURN VALUE

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



Robert VINCENT 2005-03-09