next up previous contents
Next: miget_hyperslab_normalized Up: HYPERSLAB FUNCTIONS (8) Previous: HYPERSLAB FUNCTIONS (8)   Contents

miget_hyperslab_size

NAME

miget_hyperslab_size - calculate the size of the hyperslab

SYNOPSIS

#include <minc2.h>

int miget_hyperslab_size ( mitype_t            volume_data_type,
                           int                 number_of_dimensions,
                           int                 sizes_of_dimensions[],
                           misize_t            *size)

DESCRIPTION

calculate the size of the hyperslab. i.e., the amount of memory in BYTES
which is needed to store the hyperslab

RETURN VALUE

miget_hyperslab_size returns MI_NOERROR if it successfully calculates the
size of the hyperslab with specified dimensions and MI_ERROR otherwise



Robert VINCENT 2005-03-09