Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Changing image from grey-scale to another

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109915] Re: Changing image from grey-scale to another
  • From: "Yasvir Tesiram, PhD" <Yasvir-Tesiram at omrf.org>
  • Date: Sat, 22 May 2010 00:43:23 -0400 (EDT)

Hello,
Something like,

redchannel == RandomInteger[{1, 255}, {96, 96}];
greenchannel == RandomInteger[{1, 255}, {96, 96}];

GraphicsRow[{ArrayPlot[redchannel,
   ColorFunction -> (RGBColor[#, 0, 0] &)],
  ArrayPlot[redchannel, ColorFunction -> (RGBColor[0, #, 0] &)]}
 ]

Yas


-----Original Message-----
From: ebaugh at illinois.edu [mailto:ebaugh at illinois.edu]
Sent: Friday, May 21, 2010 5:45 AM
To: mathgroup at smc.vnet.net
Subject: [mg109915] [mg109885] Changing image from grey-scale to another

How would one convert a grey scale image into another color
scale?

By "another color-scale" I mean rather than rendered in shades
of grey, rendered in shades of a different color.

Many thanks,
Jason


In case you were wondering why I am asking:
I am attempting to use Mathematica to analyse microarray data.
The capture software outputs multi-image tifs.
One image represents a green wavelength, another image
represents a green wave length. But they are rendered in grey
scale. These images get combined to give a ratio of the two
wavelength, but for that to work, they have to be converted from
greyscale.


Jason Ebaugh, PhD.
Ad astra per aspera

Dissertation: http://hdl.handle.net/2142/13005
Linkedin: http://www.linkedin.com/profile?
viewProfile==&key==22842228&locale==en_US&trk==tab_pro


  • Prev by Date: Re: Fluid dynamic over a complex terrain
  • Next by Date: Re: enter specific symbols for ListPlot usage
  • Previous by thread: Changing image from grey-scale to another
  • Next by thread: Re: Changing image from grey-scale to another