Re: combine red green and blue channels
- To: mathgroup at smc.vnet.net
- Subject: [mg83908] Re: combine red green and blue channels
- From: dh <dh at metrohm.ch>
- Date: Tue, 4 Dec 2007 04:23:49 -0500 (EST)
- References: <fitsi8$54i$1@smc.vnet.net>
Hi Gracias,
you can do this using Transpose:
red=Table[Random[],{3},{3}];
green=Table[Random[],{3},{3}];
blue=Table[Random[],{3},{3}];
Graphics[Raster[Transpose[{red,green,blue},{3,2,1}]]]
hope this helps, Daniel
tdoxmail at gmail.com wrote:
> Hello
>
>
> I am a user of Mathematica 5.2. I wanted to know that if i have three
> arrays of same size that are actually representing three different
> channels that is red , green and blue channels, what is the best way
> to combine them to display a image, that has all three colors.
>
>
> Gracias
>