next up previous contents
Next: miget_dimension_widths/miset_dimension_widths Up: DIMENSION FUNCTIONS (39) Previous: miget_dimension_units/miset_dimension_units   Contents

miget_dimension_width/miset_dimension_width

NAME

miget_dimension_width, miset_dimension_width - get or set the full-width
half-maximum value for points along a MINC dimension

SYNOPSIS

#include <minc2.h>

int miget_dimension_width ( midimhandle_t       dimension, 
                            mivoxel_order_t     voxel_order,
                            double              *width_ptr );

int miset_dimension_width ( midimhandle_t       dimension, 
                            mivoxel_order_t     voxel_order,
                            double              width );

DESCRIPTION

These functions get or set the dimension width, that is, the
full-width half-maximum values of each sampled point along the
dimension.  

These functions are used to set a constant width for regularly-sampled
dimensions.

If not explicitly set, the width will be assumed to be equal to the
dimension's step size.

RETURN VALUE

Returns MI_NOERROR on success, or MI_ERROR on failure.  Will fail if
called for an irregularly-sampled dimension.

SEE ALSO

miget_dimension_widths, miset_dimension_widths



Robert VINCENT 2005-03-09