Open Leica SP Multi-page TIFFs

Authors: Nico Stuurman (Stuurman@rulbim.leidenuniv.nl) and
Wayne Rasband (wayne@codon.nih.gov)
Date:2000/8/7
Source: Leica_SP_Reader.java
Installation: Download Leica_SP_Reader.class and LeicaTiffDecoder.class to the plugins folder and restart ImageJ.
Description: Opens each channel in a Leica SP multi-channel tiff file as a separete stack.

Note that this plugin is not designed to open Leica multi-channel TIFFs saved as multiple files. Instead, use File/Import/Image Sequence in ImageJ 1.27c or newer and filter by filename. For example, to import the first channel, enter "ch00" in the "File Name Contains" field.

You can use the command recorder to create a plugin that opens multiple channels. Here's an example that opens three channels (green, red and transmitted).

    import ij.*;
    import ij.plugin.*;
    
    public class Open_Leica_SP implements PlugIn {
    
        public void run(String arg) {
            IJ.run("Image Sequence...", "number=1000 starting=1 file=ch00");
            IJ.run("Rename...", "title=green");
            IJ.run("Image Sequence...", "number=1000 starting=1 file=ch01");
            IJ.run("Rename...", "title=red");
            IJ.run("Image Sequence...", "number=1000 starting=1 file=ch02");
            IJ.run("Rename...", "title=transmitted");
        }
        
    } 
This plugin is available in compiled form as Open_Leica_SP.class.

|Plugins | Home |