Description
map an matrix of intensity values to a matrix of color values.
Usage
mapToColors(imslice, col = heat.colors(128, alpha = 1), zero.col = "#00000000", alpha = 1)
Arguments
imslice
an image matrix defining intensity values
zero.col
the background color.
alpha
transparency multiplier