Description Usage Arguments Value
Create a (signed) distance image from surface mesh
1 2 3 |
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 |
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.