// converts selected lsm channels // to an RGB image suitable for puncta analyzer. // jm,2013-02-10. requires("1.47"); var ac=""; t = getTitle(); lsm=getImageID; setBatchMode(true); run("Duplicate...", "title=temp duplicate"); Stack.getDimensions(width, height, channels, slices, frames); if (bitDepth>8) exit(''+bitDepth+'-bit LSM images cannot be safely cast to RGB'); if (Stack.isHyperstack&&((slices>1)||(frames>1))) run("Reduce Dimensionality...", "channels keep"); c = newArray(channels+1); for (i=0;i