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

miconvert_3D_world_to_voxel

NAME 

miconvert_3D_world_to_voxel - convert world to voxel coordinates

SYNOPSIS

#include <minc2.h>

int  miconvert_3D_world_to_voxel ( mihandle_t        volume,
                                   double            voxel[3],
                                   const double      world[3])
                       
                                
DESCRIPTION
** Not implemented yet!!
This method makes conversion from world to voxel coordinate system. The
dimensions in world coordinate system come in (x,y,z) order but the result  
in voxel coordinates will be in the order of spatial dimensions. 
Use "miconvert_world_to_voxel" if any number of spatial dimensions other
than three (3) is present.


RETURN VALUE

miconvert_3D_world_to_voxel returns MI_ERROR if there are not exactly
three (3) spatial dimensions present or MI_NOERROR otherwise.



Robert VINCENT 2005-03-09