mapToColors: mapToColors

Description Usage Arguments

View source: R/Display.R

Description

map an matrix of intensity values to a matrix of color values.

Usage

1
2
mapToColors(imslice, col = heat.colors(128, alpha = 1),
  zero.col = "#00000000", alpha = 1)

Arguments

imslice

an image matrix defining intensity values

col

a color map

zero.col

the background color.

alpha

transparency multiplier


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