pal.RVV {espadon} | R Documentation |
Conversion of Hounsfied Units to Realistic Volume Vizualization colors
Description
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]
Usage
pal.RVV(n, alpha = NULL, min.col = "#000000", max.col = "#FFFFFF")
Arguments
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. |
Value
Returns a color-labeled vector of size n
.
References
[1] Silverstein JC, Parsad NM, Tsirline V (2008). “Automatic perceptual color map generation for realistic volume visualization.” Journal of Biomedical Informatics, 41(6), 927-935. ISSN 1532-0464, doi:10.1016/j.jbi.2008.02.008.
Examples
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")