next up previous contents
Next: VOLUME PROPERTIES FUNCTIONS (15) Up: VOXEL/REAL FUNCTIONS (16) Previous: miget_voxel_value   Contents

miset_voxel_value

NAME

miset_voxel_value - set the unscaled value of a particular position
in the MINC volume.

SYNOPSIS

#include <minc2.h>

int miset_voxel_value( mihandle_t               volume,
                       const unsigned long      location[],
                       int                      array_length,
                       double                   voxel );


DESCRIPTION

This function sets the voxel value of a position in the MINC
volume.  The voxel value is the unscaled value, and corresponds to the
value actually stored in the file.

RETURN VALUE

Returns MI_NOERROR on success, MI_ERROR on failure.



Robert VINCENT 2005-03-09