Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

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

> 




  • Prev by Date: ToolTips in SlideShow: Doesn't work in FullScreen?
  • Next by Date: Insert a Math Symbol in Text in Notebook?
  • Previous by thread: Re: combine red green and blue channels
  • Next by thread: The integrand has evaluated to non-numerical values for all