Learn R Programming

ANTsR (version 0.3.3)

renderImageLabels: 3D surface-based rendering of image segmentation labels

Description

Will use rgl to render surfaces

Usage

renderImageLabels(labelsimg, surfval = 0.5, smoothsval = 0, alphasurf = 1, physical = TRUE, color = c())

Arguments

labelsimg
3D images of integer labels
surfval
intensity level that defines isosurface
smoothsval
sigma for smoothing of each extracted label image
alphasurf
opacity of each rendered surface
physical
flag to use true spatial coordinates
color
colors to use for each label

Value

0 -- Success 1 -- Failure

Examples

Run this code

## Not run: 
# renderImageLabels(labels)
# renderImageLabels(labels, smoothsval=0.5, alphasurf=0.3  )
# ## End(Not run)

Run the code above in your browser using DataLab