pseudocolor ratio

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

pseudocolor ratio

Johannes-P. Koch
Dear all,

I am currently evaluating images following the conversion of a
photoswitchable protein, in this case green to red.
I want to present the images in pseudocolors representing the ratio of
conversion. (e.g. from blue to red, the intensity in the red channel the
more yellow and vice versa).

Sounds simple, yet it isn't.

Originally I wanted to apply a LUT, but of course I cannot apply a LUT to
an RGB image, and applying it to my 8-bit single planes does not solve the
problem.

Next, I wanted to calcuate the ratio red/green with the integrated image
calculator. This seems to work, but I miss a LUT I can apply to the result
which adds colours to my image as I want.
Is there an (easy) possibility to create or modify a LUT? Is there a LUT
that has the following properties:
0...black
1-254...ramp over dark blue, light blue, dark green, light green, yellow
255...red

Thanks for any suggestions, replies...easier ways?!!!

Johannes
Reply | Threaded
Open this post in threaded view
|

Re: pseudocolor ratio

Joel Sheffield
You can design your own lut using Excel.  Just make four columns,
fill the first with 0-255 as a guide, and then assume the second
column represents r, the third g, the fourth b.  Enter the numbers
you want from 0-255 in each of the corresponding cells.  Then save
the table either as csv or tab limited, and import it into ImageJ.  
If you like the result, you can save it as a lut.

Best of luck.

Joel


Date sent:       Fri, 20 Mar 2009 00:02:18 +0100
Send reply to:   ImageJ Interest Group <[hidden email]>
From:           "Johannes-Paul M. Koch" <johannes-
[hidden email]>
Subject:         pseudocolor ratio
To:             [hidden email]

> Dear all,
>
> I am currently evaluating images following the conversion of a
> photoswitchable protein, in this case green to red.
> I want to present the images in pseudocolors representing the ratio of
> conversion. (e.g. from blue to red, the intensity in the red channel the
> more yellow and vice versa).
>
> Sounds simple, yet it isn't.
>
> Originally I wanted to apply a LUT, but of course I cannot apply a LUT to
> an RGB image, and applying it to my 8-bit single planes does not solve the
> problem.
>
> Next, I wanted to calcuate the ratio red/green with the integrated image
> calculator. This seems to work, but I miss a LUT I can apply to the result
> which adds colours to my image as I want.
> Is there an (easy) possibility to create or modify a LUT? Is there a LUT
> that has the following properties:
> 0...black
> 1-254...ramp over dark blue, light blue, dark green, light green, yellow
> 255...red
>
> Thanks for any suggestions, replies...easier ways?!!!
>
> Johannes



Joel B. Sheffield, Ph.D
Department of Biology
Temple University
Philadelphia, PA 19122
Voice: 215 204 8839
e-mail: [hidden email]
URL:  http://astro.temple.edu/~jbs