I’ trying to import a .czi file containing two images (dapi and gfp), and I’d like to export the dapi image, the gfp image, the composite image all three as .tif (or jpeg).
here is my script written to save the dapi image :
options = ImporterOptions() options.setOpenAllSeries(True) options.setShowOMEXML(False) options.setStitchTiles(False) options.setId("pathToFilename.czi") #fullimps now holds the 2 images contained within the czi file. # open the first one. options.setCBegin(0, 0) options.setCEnd(0, 0) fullimps = BF.openImagePlus(options) fullimps fullimps.show() saveDir = "C:/Users/FPiumi/Desktop/test1/" IJ.saveAs(fullimps, "Tif", os.path.join(saveDir, filename)); fullimps.close()
In this example, the first image contained within the czi file is saved as “.tif” but the signal is weakened, so I can’t see any cell on the image.
Could you please tell me why most of the signal is lost during this process?