next up previous contents
Next: miset_slice_range Up: SLICE/VOLUME SCALE FUNCTIONS (14) Previous: miset_slice_min   Contents

miget_slice_range

NAME 

miget_slice_range - get the min and max real values of the slice range

SYNOPSIS

#include <minc2.h>

int miget_slice_range ( mihandle_t      volume,
                        unsigned long   start_positions[],
                        unsigned long   array_length,
                        double          *slice_max,
                        double          *slice_min)
                       
                                
DESCRIPTION

This method returns the slice range according to their minimum and maximum
real values . Note that this function is not defined for floating point 
data type nor it works if the volume is globally scaled.

RETURN VALUE

miget_slice_range returns MI_NOERROR if it successfully returns min and
max or MI_ERROR otherwise



Robert VINCENT 2005-03-09