ij.plugin
Class Concatenator

java.lang.Object
  extended by ij.plugin.Concatenator
All Implemented Interfaces:
PlugIn, ItemListener, EventListener

public class Concatenator
extends Object
implements PlugIn, ItemListener

This plugin, which concatenates two or more images or stacks, implements the Image/Stacks/Tools/Concatenate command. Gives the option of viewing the concatenated stack as a 4D image.

Author:
Jon Jackson j.jackson # ucl.ac.uk last modified June 29 2006

Field Summary
 int maxEntries
           
 String pluginName
           
 
Constructor Summary
Concatenator()
           
 
Method Summary
 ImagePlus concatenate(ImagePlus[] ims, boolean keepIms)
          Concatenate two or more images or stacks.
 ImagePlus concatenate(ImagePlus imp1, ImagePlus imp2, boolean keep)
          Concatenate two images or stacks.
 ImagePlus concatenateHyperstacks(ImagePlus[] images, String newTitle, boolean keep)
           
 void itemStateChanged(ItemEvent ie)
           
 ImagePlus run()
          Displays a dialog requiring user to choose images and returns ImagePlus of concatenated images.
 void run(String arg)
          Optional string argument sets the name dialog boxes if called from another plugin.
 void setIm5D(boolean bool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pluginName

public String pluginName

maxEntries

public int maxEntries
Constructor Detail

Concatenator

public Concatenator()
Method Detail

run

public void run(String arg)
Optional string argument sets the name dialog boxes if called from another plugin.

Specified by:
run in interface PlugIn

run

public ImagePlus run()
Displays a dialog requiring user to choose images and returns ImagePlus of concatenated images.


concatenate

public ImagePlus concatenate(ImagePlus imp1,
                             ImagePlus imp2,
                             boolean keep)
Concatenate two images or stacks.


concatenate

public ImagePlus concatenate(ImagePlus[] ims,
                             boolean keepIms)
Concatenate two or more images or stacks.


concatenateHyperstacks

public ImagePlus concatenateHyperstacks(ImagePlus[] images,
                                        String newTitle,
                                        boolean keep)

itemStateChanged

public void itemStateChanged(ItemEvent ie)
Specified by:
itemStateChanged in interface ItemListener

setIm5D

public void setIm5D(boolean bool)


Copyright © 1997–2016 NIH. All rights reserved.