dtboundary | R Documentation |
This function finds the distance of each voxel to the nearest boundary in a given mask.
dtboundary(mask)
mask |
a 3D array or image of class |
A new image in which voxels have been assigned their distance to the nearest boundary.
## Not run: library(neurobase) lesion.mask <- readnii('path/to/mask') dtb <- dtboundary(mask = lesion.mask) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.