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

Description Usage Arguments Value Author(s) Examples

Description

Will use rgl to render surfaces

Usage

1
renderImageLabels<-function( 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

Author(s)

Duda, J

Examples

1
2
3
4
5
## Not run: 
renderImageLabels(labels)
renderImageLabels(labels, smoothsval=0.5, alphasurf=0.3, color=snapColors(100) )

## End(Not run)

stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.