next up previous contents
Next: miset_voxel_value Up: VOXEL/REAL FUNCTIONS (16) Previous: miset_spatial_frequency_origin   Contents

miget_voxel_value

NAME

miget_voxel_value  - return a specific unscaled value from a given volume

SYNOPSIS

#include <minc2.h>

int miget_voxel_value ( mihandle_t              volume,
                        const unsigned long     location[],
                        int                     array_length,
                        double                  *voxel_ptr );


DESCRIPTION

This function retrieves the real values 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