itksnap | R Documentation |
Executes ITK-SNAP
itksnap(
grayscale,
overlay = NULL,
segmentation = NULL,
labels = NULL,
zoom = NULL,
verbose = TRUE,
...
)
grayscale |
filenames or nifti objects to be displayed. |
overlay |
filenames or nifti objects to be set as overlays |
segmentation |
segmentation image using |
labels |
label descriptions using |
zoom |
initial zoom in screen pixels/mm |
verbose |
Print out the command executed |
... |
arguments to pass to |
Return of system
command
dims = rep(10, 3)
arr = array(rnorm(prod(dims)), dim = dims)
nim = oro.nifti::nifti(arr)
## Not run:
itksnap(nim)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.