Re: color depth-cueing
Posted by Gabriel Landini on Feb 11, 2011; 10:07am
URL: http://imagej.273.s1.nabble.com/color-depth-cueing-tp3685724p3685725.html
On Thursday 10 Feb 2011 17:46:23 Julien Colombelli wrote:
> If you use Fiji, you find this option implemented in
> Image/Hyperstacks/Temporal-Color Code
> which works on xyz or xyt stacks too
That does not work properly in my Fiji setup (which is up to date) on simple
stacks:
I load the mri-stack sample, run the command
Image/Hyperstacks/Temporal-Color Code
and most of the time I get a "MAX_mri-stack.tif" window which is greyscale.
With the t1-head sample I get a "MAX_colored" image.
I think that there is a loss of track of which image gets processed.
By adding line 81:
80 for (i = 0; i < totalframes; i++) {
81 selectImage(tempID);
82 colorscale = floor((256 / totalframes) * i);
appears to process the mri-stack correctly. Since I do not have any
hyperstacks handy right now, can somebody please test this?
I attached the macro.
Cheers
Gabriel
PS: this is a re-send as the list has rejected the attachment. If you need to
see the complete macro code, see the fiji-devel list.