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

miget_hyperslab_normalized

NAME

miget_hyperslab_normalized - get a normalized hyperslab

SYNOPSIS

#include <minc2.h>

int miget_hyperslab_normalized ( mihandle_t    volume,
                                 mitype_t      buffer_data_type,
                                 long          voxel_offsets[],
                                 long          sizes[],
                                 double        min,
                                 double        max,
                                 void          *buffer)
                                  
                                
DESCRIPTION

The real values in the volume from the interval min through max
is mapped to the maximum representable range for the requested
data type. Float type is NOT an allowed data type.

RETURN VALUE

miget_hyperslab_normalized returns MI_NOERROR if it successfully returns
a normalized hyperslab with specified size and type and MI_ERROR otherwise



Robert VINCENT 2005-03-09