colour code time-serie

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

colour code time-serie

Sprag
I would like to get a projection of a time series color coded, so the progress in time is visualized by change in color, i.e. from red to blue. Hope you can help me, Soren
Reply | Threaded
Open this post in threaded view
|

Re: colour code time-serie

Paolo Ariano-2
Il giorno lun, 23/11/2009 alle 05.49 -0800, Sprag ha scritto:
> I would like to get a projection of a time series color coded, so the
> progress in time is visualized by change in color, i.e. from red to blue.
>
> Hope you can help me,

something like:

IJ.run("Invert", "stack");
                  ImagePlus imp=WindowManager.getCurrentImage();
          for(int i=1;i<=imp.getStackSize();i
++){imp.setSlice(i);//timecode
            IJ.run("Subtract...", "slice value="+(255-i));
          }
                                         IJ.run("Rename...",
"title=NeuronTimeCoded");
                IJ.run("Z Project...", "start=1 stop=25 projection='Max Intensity'");
                IJ.run("Fire");

hth
paolo
Reply | Threaded
Open this post in threaded view
|

Re: colour code time-serie

Ingo Bartholomaeus
In reply to this post by Sprag
Dear Soren,

just make sure you have a 8-bit stack (Image-->Type-->8bit) and then set a LUT of your choice (e.g. "cool" for orange-->purple).

Ingo