pal.RVV | R Documentation |
The RVV.pal
function produces a color palette where
Hounsfield Units in the range -1000 HU to 1000 HU are converted into
realistically colorized virtual anatomy (for use with CT), developped by
J.C. Silverstein and al [1]
pal.RVV(n, alpha = NULL, min.col = "#000000", max.col = "#FFFFFF")
n |
Integer, number of colors to be in the palette |
alpha |
Vector representing the opacity, in the range of 0 (transparent)
to 1 (opaque). If |
min.col , max.col |
respectively the color below -1000HU (by default, black,
i.e. |
Returns a color-labeled vector of size n
.
[1] \insertRefSILVERSTEIN2008927espadon
pal <- pal.RVV (256)
image (x = seq (-1000, 1000, length.out = 1024), y = 1,
z = matrix (seq (-1100, 1100, length.out = 1024), ncol = 1),
col = pal,
main = "Realistic Volume Vizualization colors")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.