"3D" pseudocolor for ratiometric images (FRET)

Tags: #<Tag:0x00007fd54bb86af0> #<Tag:0x00007fd54bb86910>


Hi Jan. I can’t deal with run(“Fill”, “slice”) following the macro, because I didn’t find the command “slice”. Could you please give me more information about that? Thank you!


I can’t still solve the problem.


In this instance, the second argument, here “slice”, is what you want to actually be filled. As you have a stack, you have the option to fill all the images in the stack, or just the current slice.

If we take the above macro, we want to only fill the saturation channel (slice 2) with the white foreground color, not all 3 channels of the HSB stack.

It might be easier to try and follow these steps manually, as you can then visualise the corresponding dialog boxes etc…

After selecting the entire saturation channel, Edit > Fill would then produce a dialog box like this:

Clicking no would produce the following: run("Fill", "slice");
Clicking yes would produce the following: run("Fill", "stack");

Hope this helps!


Thank you so much. This is exactly what I needed.:slight_smile: