int miget_real_value(mihandle_t volume,
const unsigned long location[],
double *value_ptr);
int miset_real_value(mihandle_t volume,
const unsigned long location[],
double value);
These two functions read and write single voxels, while performing the data conversions described above.