render-methods: Render an image to create a drawable image.

Description Usage Arguments

Description

Render an image to create a drawable image.

Usage

1
2
3
4
5
render(x, width, height, colmap, ...)

## S4 method for signature 'BrainSlice,numeric,numeric,character'
render(x, width, height,
  colmap, zero.col = "#000000FF", alpha = 1, units = "mm")

Arguments

x

the object, e.g. an instance of type BrainSlice

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.

alpha

transparency multiplier

units

grid unit type, e.g. "mm", "inches"


neuroim documentation built on May 2, 2019, 1:04 p.m.