itksnap: Run ITK-SNAP

Description Usage Arguments Value Examples

View source: R/itksnap.R

Description

Executes ITK-SNAP

Usage

1
2
itksnap(grayscale, overlay = NULL, segmentation = NULL, labels = NULL,
  zoom = NULL, verbose = TRUE, ...)

Arguments

grayscale

filenames or nifti objects to be displayed.

overlay

filenames or nifti objects to be set as overlays

segmentation

segmentation image using -s option

labels

label descriptions using -s option

zoom

initial zoom in screen pixels/mm

verbose

Print out the command executed

...

arguments to pass to itksnap_cmd

Value

Return of system command

Examples

1
2
3
4
5
6
7
dims = rep(10, 3)
arr = array(rnorm(prod(dims)), dim = dims)
nim = oro.nifti::nifti(arr)
## Not run: 
itksnap(nim)

## End(Not run)

neuroconductor-devel/itksnapr documentation built on May 6, 2021, 1:48 p.m.