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

miset_slice_max

NAME 

miset_slice_max - set maximum real value for the slice

SYNOPSIS

#include <minc2.h>

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

This method sets the slice_max with the minimum real value for
the corresponding slice. Note that this function is not defined for
floating point data type nor it works if the volume is globally scaled.

RETURN VALUE

miset_slice_max returns MI_NOERROR if it successfully sets the slice_max
or MI_ERROR otherwise



Robert VINCENT 2005-03-09