Learn R Programming

neuroim (version 0.0.6)

renderSlice: Render a slice at z coordinate

Description

Render a slice at z coordinate

Usage

renderSlice(x, zpos, width, height, colmap, ...)
"renderSlice"(x, zpos, width, height, zero.col = "#000000FF", units = "mm")
"renderSlice"(x, zpos, width, height, colmap, zero.col = "#000000FF", units = "mm")

Arguments

x
the object, e.g. an instance of type Layer or Overlay
zpos
the z coordinate to slice through.
width
width of the rendered image
height
height of the rendered image
colmap
the colors used to map from values to RGBA colors.
...
additional arguments
zero.col
color used when background intensity is 0.
units
grid unit type, e.g. "mm", "inches"