方法名:saveAsPgm FileSaver.saveAsPgm介绍 [英]Saves grayscale images in PGM (portable graymap) format and RGB images in PPM (portable pixmap) format, using a save file dialog. Returns false if the user selects cancel.[中]使用“保存文件”对话框,以PGM(便携式灰度贴图)格式保存灰度图像,以PPM...
# 需要导入模块: from ij.io import FileSaver [as 别名]# 或者: from ij.io.FileSaver importsaveAsJpeg[as 别名]#filelist = os.listdir(filedir)forroot, directories, filenamesinos.walk(filedir):printdirectoriesforfilenameinfilenames:iffilename.lower().endswith('.lif'):printfiledirprint"..."...
* as a stack. *@throwsImgLibException */publicstatic<T extends RealType<T> & NativeType<T>>booleansave(finalImg<T> image, String fileType,finalString path)throwsImgLibException{//TODO:use LOCI for thisfinalImagePlus imp = wrap(image);finalFileSaver saver =newFileSaver(imp); fileType = fil...
方法名:saveAsGif FileSaver.saveAsGif介绍 [英]Save the image in GIF format using a save file dialog. Returns false if the user selects cancel or the image is not 8-bits. [中]使用“保存文件”对话框以GIF格式保存图像。如果用户选择取消或图像不是8位,则返回false。 代码示例 代码示例来源:origi...
方法名:saveAsZip FileSaver.saveAsZip介绍 [英]Uses a save file dialog to save the image or stack as a TIFF in a ZIP archive. Returns false if the user selects cancel.[中]使用“保存文件”对话框将图像或堆栈保存为ZIP存档中的TIFF。如果用户选择取消,则返回false。 代码示例 代码示例来源:origin...
方法名:saveAsRaw FileSaver.saveAsRaw介绍 [英]Save the image or stack as raw data using a save file dialog. Returns false if the user selects cancel.[中]使用“保存文件”对话框将图像或堆栈另存为原始数据。如果用户选择取消,则返回false。 代码示例 代码示例来源:origin: net.imagej/ij /** ...