|
Save to plugins folder; compile and run plugin.
The compiled version is bundled with latest WCIF ImageJ bundle along with modified HandleExtraFileTypes.class (courtesy of Greg Jefferis) to allow double-clicking
of the *.LEI file to open the sequence.
Code for HandleExtraFileTypes.java from Greg: // Leica SP confocal .lei file handler
if (name.endsWith(".lei")) {
int dotIndex = name.lastIndexOf(".");
if (dotIndex>=0)
name = name.substring(0, dotIndex);
path = directory+name+".txt";
File f = new File(path);
if(!f.exists()){
IJ.error("Cannot find the Leica information file: "+path);
return null;
}
IJ.runPlugIn("Leica_TIFF_sequence", path);
width = IMAGE_OPENED;
return null;
}
|