Short Description

This script will convert each sequence in a .lei/.lif file in individual Tif file. Convert sequences are recorded in the same directory under /result

Versions

  • Version 1 • Released on: 2014-05-22 12:51:45
    Download
    Description:

    initial version

    //this script open a lif or lei leica file and save each sequence separatly in tif
    //Icy coding 22 mai 2014
    //Stephane Dallongeville & Christian rouviere
    importClass(java.io.File)
    importClass(Packages.icy.file.FileUtil)
    importClass(Packages.icy.file.Saver)
    importClass(Packages.icy.sequence.MetaDataUtil)
    importClass(Packages.plugins.tprovoost.scripteditor.uitools.filedialogs.FileDialog)
    importClass(Packages.icy.file.Loader)
    
    // Open a file dialog and returns the file
    f = FileDialog.open()
    
    if (f == null) throw "User cancelled!"
    
    metaData = Loader.getMetaData(f.getAbsolutePath())
    path = f.getAbsolutePath()
    
    output0 = f
    output1 = MetaDataUtil.getNumSerie(metaData)-1
    print(output1)
    
    for(i=0;i
    
    						

Leave a Review