renderSurfaceFunction: 3D surface-based rendering of volume images.

Description Usage Arguments Value Author(s) Examples

Description

Will use rgl to render a substrate (e.g. anatomical) and overlay image (e.g. functional).

Usage

1
renderSurfaceFunction<-function( surfimg, funcimg=list(overlayimage1,overlayimage2,etc), surfval=0.5, basefval , offsetfval , smoothsval = 0, smoothfval = 0, blobrender = TRUE )

Arguments

surfimg

Input image to use as rendering substrate.

# surfimg, funcimg, surfval=0.5, basefval , offsetfval , smoothsval = 0, smoothfval = 0, blobrender = TRUE

funcimg

Input list of images to use as functional overlays.

surfval

intensity level that defines isosurface

basefval

intensity level that defines lower threshold for functional image

offsetfval

intensity level that defines upper threshold for functional image

blobrender

render a blob as opposed to a surface patch

Value

0 – Success
1 – Failure

Author(s)

Avants B, Kandel B

Examples

1
2
3
4
5
## Not run: 
renderSurfaceFunction(simg)
renderSurfaceFunction(simg,fimg,basefval=0.2,blobrender=FALSE)

## End(Not run)

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