Hi Wayne and ImageJers,
I'm preparing some figures and I just realized there are two small issues,
one with the Stack>Combine command and one with the Selection>Straighten
command.
1) Stack>Combine does not preserve LUTs when combining a stack made of a
single multi-channel image.
Example:
run("HeLa Cells (48-bit RGB)");
run(" Grays ");
run("Next Slice [>]");
run(" 1 Red ");
run("Next Slice [>]");
run(" 2 Green ");
run("Duplicate...", "duplicate");
run("Combine...", "stack1=hela-cells.tif stack2=hela-cells-1.tif combine");
The output stack is R/G/B rather than the W/R/B assigned before combining
the two images. What would be expected is to retain the LUTs for each
channel in the combined stack.
2) Selection>Straighten converts the image type to RGB when used on a
multichannel image.
Example:
run("HeLa Cells (48-bit RGB)");
run(" Grays ");
run("Next Slice [>]");
run(" 1 Red ");
run("Next Slice [>]");
run(" 2 Green ");
makeLine(469,41,497,94,476,130,517,195,484,235,557,303);
run("Straighten...", "title=hela-cells-1.tif line=20 process");
The output straightened three-channel stack is actually an RGB image (as
displayed in the info line), as you can see by splitting the three channels
of the output (Color>Split channels): as the LUTs are W/R/G, you get a mix
of the second and third channels with the first one when splitting the RGB
image.
What would be expected is to keep the initial channels with their bit depth
(16-bit) and the same contrast (Min/Max settings) as the input image for
each channel. The same problem occurs when straightening a 3-channel, 8-bit
image.
Thank you,
Christophe
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html