[R] imagenrgb: Function to display RGB images in R
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Fri Aug 31 13:45:54 CEST 2001
Kjetil Kjernsmo <kjetil.kjernsmo at astro.uio.no> writes:
> On Fri, 31 Aug 2001, Philippe Grosjean wrote:
>
> >Matlab, Mathematica, Mathcad and probably many others have such kind of
> >functionnality... why not R?
>
> Somebody has to write the code.... :-)
>
> Being an astronomer, I recognize that R lacks many of the features that
> the software the rest of the Institute uses.
>
> However, having realized the power of R, I'm confident that R can be used
> as a framework for making better software than what currently exists.
>
> There are three ways of doing this:
> 1) You write the code yourself,
> 2) You pay somebody to do it, or
> 3) You convince somebody it is really, really cool.
> Since everybody has got things they feel are very interesting, the last
> point doesn't happen very often.
4) You snoop around a little and discover that there is a tiny thing
to change *then* goto 1) or goto 3)
In the present case, we already have image() this takes z values,
looks them up in a palette and plots the result as RGB. What would it
take to bypass the palette and interpret z as (say) 24-bit RGB
directly?
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list