Displaying 1 result from an estimated 1 matches for "mat3d".
Did you mean:
mat3
2001 Aug 30
1
imagenrgb: Function to display RGB images in R
...but I can send it to interested people fot testing.
The main problem
is that, at least with RAM up to 48Mb, the function is slow
for normally sized images (i.e., 1024 X 1024 x 3). I'd like
to hear how this function works for people with large amounts
of RAM (>1Gb).
imatestrgb:
function (mat3d,ngris=64,stretch=" ",ver=T)
{
# DISPLAYS A (m,n,3) ARRAY AS A RGB IMAGE
# From an idea by Ben Bolker. In particular I DO NOT USE:
# apply(tstarr/256,c(1,2),function(z)do.call("rgb",as.list(z)))
# which is costly in memory and time.
# IF ver=F, saves the pseudocolor image as a...