Description Usage Arguments Value
Create a (optionally) binary image from surface mesh
1 2 3 4  | 
x | 
 surface mesh  | 
spacing | 
 spacing of grid  | 
margin | 
 percentage to add to grid  | 
sign | 
 logical: if TRUE signed distances are computed  | 
k | 
 k- closest faces to consider during closest point search  | 
IJK2RAS | 
 transformation between physical and image space  | 
inval | 
 inside value  | 
outval | 
 outside value (only considered if binary = TRUE) otherwise outval = thresh.  | 
thresh | 
 maximal distance to consider  | 
binary | 
 logical: if TRUE the output will be a binary image  | 
cores | 
 integer: amount of cores used in parallel execution (be careful, as the process gets forked and then uses cores times as much RAM).  | 
useMP | 
 logical: if TRUE the parallel computation will be during kdtree search, otherwise the mclapply is used.  | 
maxind | 
 integer: maximum amount of grid points to evaluate at once (for memory reasons)  | 
returns a distance image of class antsImage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.