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

miset_slice_range

NAME 

miset_slice_range - set the min and max real values of the slice range

SYNOPSIS

#include <minc2.h>

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

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


RETURN VALUE

miset_slice_range returns MI_NOERROR if it successfully sets the slice_max
and the slice_min or MI_ERROR otherwise



Robert VINCENT 2005-03-09