Will use rgl to render surfaces

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

if (FALSE) { renderImageLabels(labels) renderImageLabels(labels, smoothsval=0.5, alphasurf=0.3 ) }