I have some routines where a composite image is optionally rotated and then split. I noticed that the display range of the split images is not held after rotating and tracked it down to the fact that after a composite image is rotated, it ceases to be a composite image. This seems like a bug to me but perhaps it is expected behaviour? I can rewrite my routine to get around this, but I don’t think rotation should change the colour settings for an image.
newImage("a", "16-bit ramp", 512, 512,1); newImage("b", "16-bit ramp", 512, 512,1); selectWindow("a"); setMinAndMax(25, 4000); run("Merge Channels...", "c1=a c2=b create"); run("Show Info..."); // Info shows image is a composite run("Rotate 90 Degrees Right"); run("Show Info..."); // Info shows image is not a composite /* * This causes problems if * run("Stack to Images"); * is executed next because display range info for each channel is lost
(Fiji Is Just) ImageJ 2.0.0-rc-68/1.52g; Java 1.8.0_172 [64-bit]; Mac OS X 10.14; 34MB of 5433MB (<1%)