|
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
|