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

miget_real_value_hyperslab

NAME

miget_real_value_hyperslab - get a real value hyperslab

SYNOPSIS

#include <minc2.h>

int miget_real_value_hyperslab( mihandle_t     volume,
                                mitype_t       buffer_data_type,
                                long           voxel_offsets[],
                                long           sizes[],
                                void           *buffer)

DESCRIPTION

This method converts the data from the type that is in the file in a value
preserving way.If real value exceeds range of the requested data type, the
result is UNDEFINED. The void pointer is pointing to memory which has to be 
allocated by the programmer in advance.


RETURN VALUE

miget_real_value_hyperslab returns MI_NOERROR if it successfully returns
the real value hyperslab and MI_ERROR otherwise



Robert VINCENT 2005-03-09