Login  Register

RGB tiff saving as Composite

Posted by Glen MacDonald-2 on Jul 14, 2017; 6:49pm
URL: http://imagej.273.s1.nabble.com/RGB-tiff-saving-as-Composite-tp5019065.html

My macro stitches z-series confocal images into a montage, all as composite images.  The macro converts the resulting montage into an RGB.
but, saving the image writes a composite image.  I can pause the montage and verify that it is a RGB montage stack with a header info that says “RGB" , but, manually saving it still creates a composite!  I’m pretty sure this used to work.
Is this a bug or am I overlooking something?  I”m pretty certain this used to work.  
Create montage code...
Composite to RGB conversion:
        selectWindow("montage");
        run("Arrange Channels...", "new=321");
        Stack.setDisplayMode("color");
        Stack.setChannel(1);
        run("Red");
        Stack.setChannel(2);
        run("Green");
        Stack.setChannel(3);
        run("Blue");
        //Stack.setChannel(4);
        //run("Grays");
        Stack.setDisplayMode("composite");
        run("Stack to RGB", "slices");
Save the file:
        saveAs("tiff",target+sep+dirname);

Thanks,
Glen MacDonald
Digital Microscopy Center
Box 357923
University of Washington
Seattle, WA 98195-7923  USA
(206) 616-4156
depts.washington.edu/digmicro
[hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html