[R] creating image using RGB values

Roland Rau roland.rproject at gmail.com
Fri Aug 1 17:57:17 CEST 2008


Hi Rostam,

did you check
?rgb
already?

Hope this helps,
Roland


rostam shahname wrote:
> Hi R users,
> I would like to create an image using three matrices which contain the
> values of Red, Green, and Blue of each pixel, i.e. one matrix which has
> values of red, one which has values of green, and one which has values of
> blue.
> The values are between 0 and 1 instead of 0-255.
> I have obtained the matrices using the getChannels of pixmap library.
> I wonder if anyone knows how to create the image using RGB matrices.
> Thanks for your help.
> 
> Thanks,
> Rostam
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list