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

miset_slice_min

NAME 

miset_slice_min - set the minimum real value for all the slice

SYNOPSIS

#include <minc2.h>

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

This method sets the slice_min 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_min returns MI_NOERROR if it successfully sets the slice_min
or MI_ERROR otherwise



Robert VINCENT 2005-03-09