mapToColors {neuroim} | R Documentation |
map an matrix of intensity values to a matrix of color values.
mapToColors(imslice, col = heat.colors(128, alpha = 1),
zero.col = "#00000000", alpha = 1)
imslice |
an image matrix defining intensity values |
col |
a color map |
zero.col |
the background color. |
alpha |
transparency multiplier |